JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
1/15/2016 10:39:59 AM
3

I am trying to get into App Development. Are there any great (visual) tutorials for using an API (with an API KEY)?

I have an editText for the username and a switcher to select the platform. XBL being 1 and PSN being 2. I can easily make the URL but in chrome it asks for an API KEY (which I have). But I do not know what to do with this key. Where do I put it in the URL etc... I want a tutorial to explain how to make quick interactions with the Bungie API to get specific experience levels for factions.

Posting in language:

 

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

  • I've found in testing my API calls I don't have to specify a 1 or 2 for the platform, I can pass the 'PSN/Gamertag' name and 'All' and I'm returned the correct info. In order to actually interact with the API, you need to pass 'X-API-Key' = to the value of your API key.

    Posting in language:

     

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

  • Send me a message and i can give you access to my repo, in there you will find everything you need to start coding, including a WebView that handles the login for you. I'm Assuming this is Android, right? if not, i can still give you access but don't know how much it would help.

    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
    • For example I would setup methods so I could easily call them: String mId = getMembershipIdByUsername(username, 1);

      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