JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

„Updates, discussions, and documentation of the BungieNetPlatform API.”

Poproś o dołączenie
po raz pierwszy umieszczony: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

Język wpisów:

 

Bądź w porządku dla innych. Poświęć chwilę na przejrzenie naszego Kodeksu Postępowania, zanim zamieścisz swój post. Anuluj Edytuj Stwórz drużynę ogniową Posty

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

    Język wpisów:

     

    Bądź w porządku dla innych. Poświęć chwilę na przejrzenie naszego Kodeksu Postępowania, zanim zamieścisz swój post. Anuluj Edytuj Stwórz drużynę ogniową Posty

Nie możesz zobaczyć tej zawartości.
;
preload icon
preload icon
preload icon