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/9/2015 7:59:15 PM
1

Is it possible to only download part of a query's results to save bandwidth?

I want to inspect the rarity of many weapons, and to do that I need to use Manifest/InventoryItem to get the rarity of each one. However, that query returns a LOT of extra data that I don't need, and since I want to write this as an Android app that's potentially backbreaking for people who don't have unlimited data. Is there a way to only get part of a query's results?

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
  • Edited by hax: 4/9/2015 8:06:20 PM
    2
    you have two other options. one option is to use the ?definitions=true flag at the end of your API calls - you'll get all of the information about all of the items. more information here: https://www.bungie.net/en/Clan/Post/39966/110891000/0/0 the better option is to download the manifest file and save that data locally. more information about the manifest file is here: https://www.bungie.net/en/Clan/Post/39966/105901734/0/0

    Posting in language:

     

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

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