JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
3/17/2015 1:49:15 PM
1

Confused on conflicting documentation for Activity History mode filter

I'm trying to get the completion status for Nightfalls, Weekly Heroics, and Daily Heroics, tho I've run into an issue as far as conflicting information for the API in regards to the activity history and the 'mode' filter. aFreshMelon's PHP API at https://github.com/aFreshMelon/destiny-php, which uses numeric IDs : 1 None 2 Story 3 Strike 4 Raid 5 AllPvP 6 Patrol 7 AllPvE 8 PvPIntroduction 9 ThreeVsThree 10 Control 11 Lockdown 12 Team 13 FreeForAll 14 Nightfall 15 Heroic 16 AllStrikes According to Bungie dox, it appears you would use the actual string names, not the id's: https://www.bungie.net/platform/destiny/help/HelpDetail/GET?uri=Stats%2fActivityHistory%2f%7bmembershipType%7d%2f%7bdestinyMembershipId%7d%2f%7bcharacterId%7d%2f And from Tetron on these forums, again using IDs (https://www.bungie.net/en/Clan/Post/39966/88838297/0/0): None = 0, Story = 2, Strike = 3, Raid = 4, AllPvP = 5, Patrol = 6, AllPvE = 7, PvPIntroduction = 8, ThreeVsThree = 9, Control = 10, Lockdown = 11, Team = 12, FreeForAll = 13, Nightfall = 16, Heroic = 17, The last one seems to be the closest. So, it looks like 16 works for Nightfall, but I still can't get Weekly Heroics or Daily Heroic Story to show up. I'm not sure if Heroic means Weekly Heroic, but that's what I'm assuming. But if so, I can't seem to get them to show up with any of the ways I've tried above. Does anyone know the correct modes here so I'm not running in circles?

Posting in language:

 

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

  • You can use the string names and probably should. Heroic refers to Weekly Heroic Strikes. Can you post some sample queries that you are having trouble with?

    Posting in language:

     

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

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