JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Request Join
originally posted in:BungieNetPlatform
11/7/2014 2:23:37 PM
2

can you affect changes through the platform api?

probably a stupid question, but can you affect changes to characters through the API? I noticed an "equip" button on some items in the Bungie web app, but it doesn't have any affect would love to write an app that lets me move weapons between my characters, but I'm assuming that's impossible right now

Posting in language:

 

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

  • Make a POST request to https://www.bungie.net/Platform/Destiny/EquipItem/ with the following JSON object:[quote]{ characterId: "xxxxxxxxxxx" itemId: "xxxxxxxxxxx" membershipType: "2" }[/quote]Note: you'll need be authorised (have cookies) to do it.

    Posting in language:

     

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

    4 Replies
    • Edited by Jarvis T. Smokin: 11/7/2014 3:46:02 PM
      just to follow up on this, I had a look at the Bungie app again, and the "equip" button was working for me (I probably wasn't authenticated the last time I tried it), I had a look at the command it sent when I went to equip a different primary weapon, and this is what it sent: Request URL:http://www.bungie.net/Platform/Destiny/EquipItem/?lc=en&fmt=true&lcin=true Request data: characterId: "2305843009231135187" itemId: "6917529035252902841" membershipType: "2" Not sure if I could use this myself as opposed to it being called from the a bungie.net domain, will have to try that, but if I could, a "place item in vault / retrieve item from vault" set of commands would be very useful then! Another very useful command would be "consume heavy ammo synthesis"! (you could have a phone / ipad app then with a really big button to use an ammo synth when they're in the thick of it in the raid)

      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