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 xorth: 6/13/2015 8:03:40 PM
2

Stats by Activity By Date Range

On this api endpoint: [url=https://www.bungie.net/platform/destiny/help/HelpDetail/GET?uri=Stats%2f%7bmembershipType%7d%2f%7bdestinyMembershipId%7d%2f%7bcharacterId%7d%2f]Stats By Date/Period/Group[/url] I'm trying to use periodType = Activity, and I'm getting an error on the response. Is this something that is not ready for consumption yet or am I making a mistake? [url=http://www.bungie.net/platform/Destiny/Stats/1/4611686018429389559/2305843009216933146/?periodType=Activity]Example call[/url] Thanks.

Posting in language:

 

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

  • I don't feel like the periodType=Activity is properly understood yet. Say if you use [url=http://www.bungie.net/Platform/Destiny/Stats/1/4611686018429389559/2305843009216933146/?modes=Strike&monthstart=2015-05&monthend=2015-06]Monthly[/url] you will get a separate "monthly" structure after the "allTime" structure in your response, however you only get the latter when you do a call with periodType=Activity. It's worth noting that leaving the periodType parameter blank and specifying a monthstart and monthend will still bring back a response with the "monthly" structure included. So is there perhaps something missing that is required to do a proper Activity response for [url=http://bungienetplatform.wikia.com/wiki/GetHistoricalStats]GetHistoricalStats[/url]? If you don't provide all the parameters for a certain periodType, it seems to just return the "allTime" data instead (ie setting it to monthly but not specifying a start and end month won't return any monthly stats). What good is getting the "fastestCompletion" for all activities in a certain mode? Is it not possible to break this down to a specific activity?

    Posting in language:

     

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

  • Parameters are case sensitive. If you change periodType to periodtype the call goes through fine :)

    Posting in language:

     

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

    5 Replies
    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon