JavaScript is required to use Bungie.net

Forums

originally posted in:BungieNetPlatform
Edited by Charlemagne: 10/6/2015 2:37:37 PM
2

MembershipID, destinyMembershipId and inventory

This link has documentation on the API. https://www.bungie.net/platform/destiny/help/ On that page are two APIs. [quote]/{membershipType}/Account/{destinyMembershipId}/Character/{characterId}/Activities/ Retrieve the inventory for the supplied character. /Vanguard/Grimoire/{membershipType}/{membershipId}/ Gets someone else's Grimoire. [/quote] The second API is from the first example. If I use the membershipId value in the second API for the first API it fails. Its odd. The API ends in Activities but the description says inventory. It also has two different descriptions for the second value: destinyMembershipId versus MembershipId. Is that a typo or are they different? Also, what is the characterID? I've looked at the inventory screen and it is completely different. https://www.bungie.net/en/Legend/Gear/2/4611686018430120182/2305843009229748020 Consquently for me, I've tried the following urls and none work. var url2 = "https://www.bungie.net/platform/destiny/Legend/Gear/2/4611686018430120182/2305843009229748020"; var url3 = "https://www.bungie.net/platform/destiny/2/Account/4611686018430120182/Character/1/Activities"; var url = "https://www.bungie.net/platform/destiny/2/MyAccount/Vault/Summary";
English

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 sgtfrankieboy: 10/6/2015 6:26:41 PM
    If we take a quick look at the link of one of your Legends: https://www.bungie.net/en/Legend/Gear/2/4611686018430120182/2305843009229748020 2: [i]membershipType, It's either 1 for Xbox or 2 for Playstation.[/i] 4611686018430120182: [i](destiny)membershipId, an ID unique to your Destiny account.[/i] 2305843009229748020: [i]characterId, an ID unique to one of your Destiny characters.[/i] A valid API request would be: https://www.bungie.net/Platform/Destiny/2/Account/4611686018430120182/Character/2305843009229748020/Activities/ Make sure to include the API key in the headers.

    Posting in language:

     

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

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