originally posted in:BungieNetPlatform
View Entire Topic
Here is the issue:
I am getting information about user's character's item by using this API call:
http://www.bungie.net/Platform/Destiny/1/Account/4611686018436654967/Character/2305843009307627235/Inventory/
The results do not provide the name of the item or image of the item.
From the [url=https://www.bungie.net/platform/destiny/help/]Bungie Destiny Help document[/url] I see there is this call below to get the specific item from the manifest but I don't know what exact parameters I should be putting into the URL:
http://www.bungie.net/Platform/Destiny/Manifest/{type}/{id}/
I'm using the itemHash in place of the "id" parameter:
http://www.bungie.net/Platform/Destiny/Manifest/1/1716862031/
My question is for this API Call: http://www.bungie.net/Platform/Destiny/Manifest/{type}/{id}/, what value should be used for the "type" parameter.
English
#Bungie
-
i would recommend you not doing this, cause this will require about 400~ calls in average if the user has 3 guardians (and even double after taken king), so, if you need this info you are better of doing what almost every item management app has to do, download the manifest file, open the database and read the content from it. But, i'm not recommending to do this from your app/web everytime, i would do this offline and process the data and just bundle the needed information. I have an app that check if there is an update, process the data and pushes one file to a place, and then my app gets the file from there and deploys locally.