JavaScript is required to use Bungie.net

#Community

originally posted in:BungieNetPlatform
Edited by Sorted Bits: 11/5/2014 6:43:23 AM
3

Destiny API Wiki and authentication script

I started to gather some information about the Destiny API and am putting it together in an open Wiki. One of the first things I wanted to do was to be able to login to my account using a script and query the vendors in the game. So I created a small Python script that allows the user to set a couple of variables (username and password of XBL or Facebook) and then queries a vendor. It still needs a bit of testing, because the XBL login is not working a 100% yet, but the Facebook login is (anyone want to update it to support PSN and Google?). That script can be found here: [url]http://wiki.destinypublic.com/Scripts/Cookies[/url] The wiki has no authentication but is backed by a Git repository, so you can perform changes on the pages itself and it keeps histories of them.
English
#Community

Posting in language:

 

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

View Entire Topic
  • Edited by xXxStrik3XxX: 11/6/2014 5:00:09 AM
    not so sure about correct Python, but from what I can see... maybe for the future long run and you have a goal of getting all the logins, perhaps a change of all the if conditions to a select case? So here is my good ol php example... $method = ""; switch ($method){ case "FACEBOOK": url = "https://www.bungie.net/en/etc.."; break; case "XBL": url = "https://M$.comt/en/etc.."; break; case "YAHOO": url = "https://www.YAHOOOOOOOOOOOOOOOOOO/en/etc.."; break; default: url = "https://www.bungie.net/en/etc.."; break; } Sorry, I saw a chance to nerd out.. I really only hobby program and by no means an expert... I just know select case can allow a single check vs multiple one at a time using if, kinda pointless if checking a single variable... But I like how neat you are.. man my first codes are sloppy as hell with all kinds of comments thrown all over... lol.. good job and sorry if I imposed..

    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