JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
8/25/2015 6:27:20 PM
2

Accessing Character's Item Details

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.

Posting in language:

 

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

  • Yes, please follow Bunk3r's advice and grab the mobile databases! Your life will be so much easier, and you'll save both yourself and us a ton of bandwidth. :)

    Posting in language:

     

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

  • 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.

    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