JavaScript is required to use Bungie.net

Help

Help us help you.
originally posted in:BungieNetPlatform

This thread is inspired by another: view original post

4/11/2016 7:15:11 PM
1

Explorer Items buckets/types

Is anyone else having this problem... I can't get buckets or types to work with the Explorer Items. Is the API broke? Whats going on?
English
#Help

Posting in language:

 

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

View Entire Topic
  • I could use some more information in order to be helpful - in what way is it not working? Are you finding buckets and/or types that don't have matching definitions? Are there some/all items that are missing them entirely, or are they there but incorrect for some/all items?

    Posting in language:

     

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

    8 Replies in this Sub-Thread
    • Ah, understandable - so there's a couple of problems, hopefully this will be of help. Unfortunately, there's no buckets querystring parameter on the Explorer/Items/ Endpoint. There is a "categories" querystring parameter: it expects a comma-delimted list of uints that match the "hash" properties on categories defined on Item Category definitions. (Note that this parameter will restrict results only to items that have *all* of the categories you pass in... so if you ask for Warlock Shotguns by passing ?categories=11,21 (11 = Shotguns, 21 = Warlock class restricted items), you'd only get items that are *both* class restricted to Warlocks *and* are Shotguns) And in fact, you are in luck if all you want is just weapons - the "CATEGORY_WEAPON" Category has a hash identifier of 1, so if you were to instead call: www.bungie.net/Platform/Destiny/Explorer/Items/?categories=1&page=0 You'll get just weapons. Hopefully that helps!

      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