JavaScript is required to use Bungie.net

サービスに関する通知
今日、Destiny 2 はメンテナンスのため、一時的にオフラインになります。@BungieHelp で更新情報を確認してください。

フォーラム

オリジナルの投稿元:BungieNetPlatform
オリジナルの投稿元: Inventory endpoint & weapon thumbnail urls's
8/11/2015 11:26:55 PM
7
Look up the item definition in the manifest using the itemHash
English

投稿言語:

 

マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • What is the exact URL for this? Below the id parameter should be replaced with itemHash but what should be replaced with the type parameter? /Manifest/{type}/{id}/

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • Just to note, if you're going to do more than one or two of these lookups, we strongly recommend that you download the mobile databases instead of making this platform call: it will save you a ton of bandwidth, and you'll have all the information available quickly on disc! You'll find people talking about various approaches to doing this in the forums here! Now, that being said, the type is an enumeration, here's the possible values you can pass in: g.DestinyDefinitionType = { None : 0, Activity : 1, ActivityType : 2, Class : 3, Gender : 4, InventoryBucket : 5, InventoryItem : 6, Progression : 7, Race : 8, Stat : 9, TalentGrid : 10, StatGroup : 11, UnlockFlag : 12, Vendor : 13, Destination : 14, Place : 15, DirectorBook : 16, MaterialRequirement : 17, SandboxPerk : 18, ArtDye : 19, ArtDyeChannel : 20, ActivityBundle : 21, GearAsset : 22 };

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • thank you. do you know how to get non-equipped inventory and the vault info? the inventory endpoint seem to only give equipped items?

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • The inventory endpoint does show the entire inventory, if you are signed in and you're looking one of your accounts. There's a new API that is "public" (doesn't require a sign in): https://www.bungie.net/platform/Destiny/TigerPSN/Account/4611686018429272795/Summary/ And also shows all the inventory, but it doesn't list weapon perks and progression. You can also get detailed item information from this endpoint using the item instance ids from the previous: https://www.bungie.net/platform/Destiny/TigerPSN/Account/4611686018429272795/Character/2305843009214867343/Inventory/6917529055774575427/

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • VThornheartにより編集済み: 8/26/2015 7:03:53 PM
    As a caveat, please don't iterate through all of a user's items and get details on each one - we're providing the Summary as a convenience method, with the intent that detail calls to individual items should only be made when people are actually inspecting said item while using an app/page and not in bulk/automated. If we start receiving bulk item detail calls as a result of exposing this information, we may have to restrict the Summary view to also only show equipped items... which would make me very sad.

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • Duly noted. I too would be sad if this were to happen. For what it's worth, the discussions I've had with regards to the popular Item Manager apps, the AllItemsSummary method is useful for updating location of instanced items and stack sizes of others, but it's not a replacement for Character Inventory and Vault methods containing more detail such as node summaries / perks valuable for the business of item managing.

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

  • Hmm, good to know and understandable. There may yet be a middle ground we can come to - we'll have to come back to this when we have some time to iterate on it further!

    投稿言語:

     

    マナーを守りましょう。投稿する前に、Bungie の行為規範を確認してください。 キャンセル 編集 ファイアチームを作る 投稿

このコンテンツはご覧いただけません。
;
preload icon
preload icon
preload icon