JavaScript is required to use Bungie.net

Help

Help us help you.
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
English
#Help

Posting in language:

 

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

View Entire Topic
  • 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
    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon