JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
4/28/2015 5:49:50 PM
3

Get list of all possible perks for a given item type?

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

Posting in language:

 

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

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

    Posting in language:

     

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

  • Edited by Charlemagne: 4/29/2015 5:49:04 AM
    I 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.

    Posting in language:

     

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

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

    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