JavaScript is required to use Bungie.net

Forums

originally posted in:BungieNetPlatform
9/11/2014 1:38:13 AM
2
Are you working out how the Bungie REST API works just by inspection? They don't publish any details right? All I'm getting at is that it could change to require some authentication token, or there could be other unannounced API changes, right? Hopefully that won't happen! :-)
English

Posting in language:

 

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

  • [quote]Are you working out how the Bungie REST API works just by inspection? They don't publish any details right?[/quote]Yes. It's somewhat easy just to perform an action in the browser and monitor the request and response. [quote]All I'm getting at is that it could change to require some authentication token, or there could be other unannounced API changes, right?[/quote]This is where the design of the library is critical. At the moment it would support something like an OAuth token with a few modifications, but I'm still unsure if it's the best design. It's really only the code relating to making requests that would need to change anyway. The rest of the code would/could probably stay the same. I got sneaky and wrote up a quick script to translate the JavaScript into C# for some of it ;).

    Posting in language:

     

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

  • Edited by DidneyWhorl: 5/5/2015 4:34:49 PM
    Im completely new to most things code, but Im purely curious why this couldnt be done in Java; instead of C#? Just preference?

    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