JavaScript is required to use Bungie.net

Forums

originally posted in:BungieNetPlatform
originally posted in: How to get started?
5/5/2015 3:34:17 PM
7
Hi Steve -- What exactly are your goals with the API? I would suggest joining our [url=https://www.bungie.net/en/Clan/Forum/39966]BungieNetPlatform group[/url]. There you will find very knowledgeable folks who'd be happy to help you get started.
English

Posting in language:

 

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

  • Mainly I'm trying to just pull any data I can. Once I have an understanding of how to pull data, and exactly what data i can pull, then I will come up with an idea for a website. I see a lot of people using Node.js and C# to pull that data, but Is it possible to just pull it using php or javascript? Thanks, Steve C

    Posting in language:

     

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

  • I was able to get started using php, found this really cool php library, uses composer and looks like it parses the json files it gets back from the public enpoints. Script: https://github.com/aFreshMelon/destiny-php What I have made so far: http://costellocoding.com/test/destiny-api/ Thanks all for your help, Steve C

    Posting in language:

     

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

  • Javascript alone wont be enough. Bungie does not support [url=https://www.bungie.net/en/Clan/Post/39966/85087279/0/0]Cross Origin Requests[/url]. We are required to use a CURL and some magic :)

    Posting in language:

     

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

  • CORS actually depends on what you're building. You can still use JavaScript API's if you're building: - Browser plugins - Mobile applications (think phonegap, react-native, titanium) - Desktop Applications (using adobe air, atom shell etc) - Server apps using Node.js

    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 cherrywave: 5/7/2015 8:25:52 AM
    Hey you, I wanted to build a mobile app (doesn't mind if it's just for android) I am still looking for an example how to do the authentication thing with an Android WebView. Or should I give Phonegap a try? Edit: OK I looked at Phonegap but I would rather like to use my known IDEs. Or is anyone here willing to introduce me completely in this Phonegap, Adobe Cordova thing?

    Posting in language:

     

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

  • To elaborate on Help0's response: Yes! You can definitely use javascript. Any language that can issue an HTTP GET request and handle the response can be interfaced with the Bungie.net API. Documentation can be found here: https://www.bungie.net/en/Clan/Post/39966/85087279/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

  • Great questions. I [i]think [/i]it's possible with Javascript, but I would suggest posting in that group, as I'm not a programmer and they'll know best.

    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