originally posted in:BungieNetPlatform
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
-
Edited by sgtfrankieboy: 10/6/2015 6:26:41 PMIf 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.
-
I've removed this from the main forum categories. When posting in the private group, don't select a category.