originally posted in:BungieNetPlatform
Hi!
I haver ecently found that there is an API to get information from Bungies servers but I cannot find any documentation about what this api can do or how to use it. Is there any documentation for this api? If not, could you just point me to where to find the information about the daily heroic missions, daily bounties and weekly nightfall and heroic? I have seen some example on how to use the api but when I get the data I don't have any idea how to get information from the JSON.
Thanks a lot!
English
#Help
-
Oh yes - so the "public advisors" end point is: http://www.bungie.net/Platform/Destiny/Advisors/ As far as reading the response, I recommend using a JSON parsing library like Newtonsoft.JSON ([url]https://www.nuget.org/packages/Newtonsoft.Json/[/url]). You can look at the result manually to see what fields it's expecting: try going to the Advisors API from a browser! Like with other BNet services, however, this is really just providing indexes and hashes into much larger "definition" data. We recommend you use the mobile databases to extract that definition data: that way you get the data once and have it available in quick and ready-to-use fashion. For testing purposes, however, you could append "?definitions=true" to that Advisors URL as such to get relevant definitions: http://www.bungie.net/Platform/Destiny/Advisors/?definitions=true Then you use the hashes referred to in the Advisor data to look up the corresponding definitions, and that will give you all the rich data you desire!