JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Request Join
originally posted in:BungieNetPlatform
Edited by ReshadF: 1/24/2016 9:56:12 PM
3

Get Trials specific endpoints

Hi Guys. I have decided to create an app like destinytrialsreport but natively for iOS. I have found a few endpoints where I can search up a user and find all of its characters and show them. And when you tap on a character it shows the last stats for ToO. Unfortunately I have a hard time finding endpoints where I can find the current/last fireteam the user played with and other useful information that would be good to show in the app. Do you guys know what those endpoints are? I tried to search the wikia but I can't find them al

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Edited by Steffwiz: 1/27/2016 6:03:46 AM
    Hi! I'm one of the developers of DestinyTrialsReport. Did you know we're open source? You can look at our code on GitHub here: https://github.com/DestinyTrialsReport/DestinyTrialsReport. What we do on our front-end, and what would be easiest for you to implement in your app, is query the Stats/ActivityHistory endpoint for their last Trials match. Trials is mode 14, and you'd only need the latest match so you could limit it to 1. At this point, you'd have the instanceId of their latest Trials match and you could query the PGCR. The PGCR would contain the displayNames and membershipIds of everyone in their latest match. This is how we autofill on DestinyTrialsReport. It's important to note, though, that the ActivityHistory endpoint is changing soon. If the user has privacy on for that category, you won't be able to get any data for them on that endpoint. So in turn, you also wouldn't be able to obtain their last match. As @VThornheart said, we also process PGCR data in realtime. We process sometimes up to 10 million matches per day. We don't yet use this data for this specific purpose just yet, but that is in the works eventually.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    3 Replies
    • If you're looking for specifically what the last fireteam you played with was for Trials, we do not have an endpoint that directly provides that. What we do have is "PGCRs" - Post-game carnage reports. These are the full details of individual games, and through it you can infer Fireteam data and stats. The DestinyTrialsReport team does thorough PGCR inspection in order to produce their data: it's been a pretty monumental undertaking for them, as in order to get that data you need those PGCR-level details pivoted by character rather than by game. Essentially they had to (and continue to have to) process every game that passes through the system. You should speak with them, they might be interested in joining forces on such a project: and if so, you could leverage what I imagine must be an absolutely massive pivoted dataset.

      Posting in language:

       

      Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    • Posting with a public tag such as #Help removes your post from your group and places it in the public section. Removing the tag will put it back into your group.

      Posting in language:

       

      Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

      1 Reply
      You are not allowed to view this content.
      ;
      preload icon
      preload icon
      preload icon