originally posted in:BungieNetPlatform
View Entire Topic
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?
English
-
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.