JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
3/26/2016 4:47:05 PM
1

PvP Medal Counts and reference Id Question

I know how to get post match data from any PvP match, but I have two questions regarding the API on how to get meta data for a hobby site that I am building. Is there any way to get medal count without iterating (via calls) over EVERY pvp match that a person has played? I have tried making a handful of calls associated with historical stats and I cannot see another way to do it. The only way I suspect DTR does it is with a database (storing your ongoing medal count) or sifting through every pvp match and adding the medals up. Finally, I have one other question, I have been told that referenceId is a map id but I have look it up in some other way, maybe a JSON object with definitions? Again, I have scratched around the api, made calls, but have seen nothing that I can use. If you guys could shed light on these I would appreciate it. Dieter

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
  • Did not see you question about definitions till now in your other post. You can either download the definitions from the manifest http://destinydevs.github.io/BungieNetPlatform/docs/Manifest Or add /?definitions=true to the API endpoint and it will return the definitions for everything in the result including the map. Or you can save this already extracted simplified definitions for maps https://github.com/DestinyTrialsReport/DestinyTrialsReport/blob/develop/app/shared/definitions/en/DestinyCrucibleMapDefinition.js As far as medals go, you will unfortunately need to make the pgcr request for every match and add them up

    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