JavaScript is required to use Bungie.net

Ayuda

Ayúdanos a ayudarte.
publicado originalmente en: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

Publicando en idioma:

 

Pórtate bien. Echa un vistazo a nuestro Código de conducta antes de publicar tu mensaje. Cancelar Editar Crear escuadra Publicar

  • 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

    Publicando en idioma:

     

    Pórtate bien. Echa un vistazo a nuestro Código de conducta antes de publicar tu mensaje. Cancelar Editar Crear escuadra Publicar

    1 Respuesta
    No se te permite acceder a este contenido.
    ;
    preload icon
    preload icon
    preload icon