originally posted in:BungieNetPlatform
If I wanted to get a list of perks for each weapon type (for example, all possible perks for Shotguns, all possible perks for Auto Rifles, etc), how would I do that? I want to do this with as few query calls as I can, and I only want to get the perks that are obtainable in-game (in such a way that will ideally be updated automatically when HoW drops and adds newly obtainable perks to the mix).
-
I'm still playing with an old version, but for one item you'd join its talentGridHash (DestinyInventoryItemDefinition) with a gridHash (DestinyTalentGridDefinition). eg. [url=http://pastebin.com/raw.php?i=8UeR1hax]this[/url] with [url=http://pastebin.com/raw.php?i=4RDNmQsU]this[/url].
-
Edited by Charlemagne: 4/29/2015 5:49:04 AMI think Destiny Database, Destiny wikia, and Destiny Tracker all (to some degree) provide the perks. That's if you literally just want a list though.
-
You'd probably want to set up a caching system of the mobile Manifest. There's not a lot of options in terms of search-ability in the API but there's heaps of data to sift through. I would loop through all the items in the game and construct a custom structure with what you want in the format that you need it in.