JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
9/30/2016 3:50:12 PM
1

How do you get a Weapon's Attack or an Armor's Defense?

Hey Guys, I am getting my characters items form the bungie.net platform api. When I look at a piece of armor I can not find where the defense is listed in the JSON. I also, can not find the attack value for weapons. I looked in stats did not see any values that corresponded with the correct attack or defense. Anyone have any ideas how to get these values? Thanks

Posting in language:

 

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

  • Take a look at the inventory endpoint: https://www.bungie.net/platform/destiny/help/HelpDetail/GET?uri=%7bmembershipType%7d%2fAccount%2f%7bdestinyMembershipId%7d%2fCharacter%2f%7bcharacterId%7d%2fInventory%2fSummary%2f Theres a primary stat object in there, is that what you're searching for? [primaryStat] => stdClass Object ( [statHash] => 368428387 [value] => 369 [maximumValue] => 0 )

    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