originally posted in:BungieNetPlatform
View Entire Topic
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).
English
-
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.