JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
11/18/2014 3:50:47 PM
1

Quick question about how to gain access to some stats: Raid

So I want to calculate a members time spent in the raid, I was wondering how I could gain access to this. First, www.bungie.net/platform/Destiny/Stats/ActivityHistory/TigerXbox/4611686018429647849/2305843009215288959, doesn't seem to work, what parameter am i missing. Second, I already found that AggregateActivities endpoint only seems to give me the last raid I played not multiple play throughs nor a total time played. Is there an endpoint that give data based on total kills, completions, and deaths in the raid? One that is like this link and clicking on the raid stats http://www.bungie.net/en/Legend/1/4611686018429647849/2305843009215288959. Third, what is the best way to gather time in raid? Is there one stat already made and where, or do I need to find all the play throughs and total them? If the later is the case, is the endpoint i am looking for ActivityHistory?

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 Inirit: 11/18/2014 6:41:10 PM
    [quote]First, www.bungie.net/platform/Destiny/Stats/ActivityHistory/TigerXbox/4611686018429647849/2305843009215288959, doesn't seem to work, what parameter am i missing.[/quote] Try this: http://www.bungie.net/platform/Destiny/Stats/ActivityHistory/TigerXbox/4611686018429647849/2305843009215288959/?mode=Raid&page=0 "mode" is the required parameter, "page" can be omitted to default to the first page. [quote]Second, I already found that AggregateActivities endpoint only seems to give me the last raid I played not multiple play throughs nor a total time played.[/quote] http://www.bungie.net/platform/Destiny/Stats/AggregateActivityStats/TigerXbox/4611686018429647849/2305843009215288959/ This response should have an entry for each activity you have played, including the raid. Each entry is a collapsed aggregate of all the times you have played that specific activity. You only need to know the hash value to identify the entry, within this entry is a value called "activitySecondsPlayed" which should get you want you want.

    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