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/28/2015 5:02:23 PM
1

Armsday: How to get from an Order to the Weapon?

I want to get the itemHash of the weapon one will get on Armsday when one turns in an Order. However, the only thing I can find in the Order item that references the Weapon you'll get is it having (roughly) the same name. Thus, I'm concerned I'll have to search for the weapon by name, which raises two questions: 1) Did I miss something that makes going from an order to a weapon easier than a name search (hopefully)? 2) If not (1), what is the most standard way to do a name search for an item? I am trying to avoid downloading the manifest to the user's device if I can.

Posting in language:

 

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

  • Can you post a snippet of the return for the order? I dont have any pending, not sure what it actually looks like and what platform are you using? What we do is manually create an item definitions json from the latest manifest and reference that instead of having to download the manifest on every request. If youre using node.js, DIM has a great script on their github that can make the defs for you

    Posting in language:

     

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

    3 Replies
    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon