JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
2/15/2016 5:31:32 PM
1

Material Requirments for weapons and armor

Looking through the JSON API it does not seem that the specific type of material needed to upgrade a weapon or armor is shown e.g. spin metal. It would be neat if this was available so you could show people both which material and how much is needed in our apps.

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
  • Unfortunately, the material requirements are a complex beast. We don't provide them on item/talent grid definitions because we can't know until what requirements it will have until the item is instantiated: so if you're looking at the item definition, that's why there's not much useful there. For the material requirements on an item, try the Get Inventory Item Detail endpoint - it has a "talentNodes" property that, for every talent node, has a "materialsToUpgrade" property that shows exactly what you need and how much for that instance of the item. We don't return it in the "get all items" service because it is a lot of data, and those services already return a ton of information (that most users don't need to see unless they drill into details). Keeping it out of the results that return multiple items saves everyone a lot of bandwidth and pain for the majority of use cases that don't need to know that info... but admittedly at the expense of not knowing this info upfront if you do happen to have a use case. In those cases, make the detail call! Hopefully this helps!

    Posting in language:

     

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

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