JavaScript is required to use Bungie.net

Forums

originally posted in:BungieNetPlatform
Edited by NguyenKen: 3/9/2015 7:44:31 PM
5
I notice it's kinda slow to pull the information you have on that website (maybe it's just your server speed) My step to pull the info you have are: 1) Login with PSN 2) Find MembershipID with Tag 3) Pull Char IDs with MembershipID 4) a) Check Advisor Info : if there is none, proceed to step b) else continue step 5) b) Check Complete Endpoint of Account 5) Grab Weekly / Nightfall info (if advisor info found, pull raid info as well else proceed step 6) 6) Grab Raid info from ActivityHistory (last 50 activities)
English

Posting in language:

 

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

  • I am not using a login. So the data is a bit broken. I will be working on speed though.

    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 NguyenKen: 3/10/2015 1:11:27 PM
    ya X) i just put the login there but it's actually the one in awhile thing (once i log in the cookie last for awhile so i only do login process again when it fail my test) The reason i choose the to do the full process and check for advisor instead of going for activity history is just in case they decide to public the advisor end point later and my clan app will just work without edit lolz :D Another reason to choose to get Weekly and Nightfall info from complete endpoint instead of activity history is some of my member do 200+ strikes a week :/ which will take forever to filter out from activity history, while the complete endpoint tell u if they complete it or not right away

    Posting in language:

     

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

  • I agree with your comment about the filtering of history data. But since the site is open to the public I don't want to ask for login credentials. I feel it is bad practice in a public site and too risky. Much like you I have a clan site that does do this though.

    Posting in language:

     

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

  • Nope, i didnt ask for credential :D the pulling data part is done in the back bone nodejs server where i have my own credential encrypted embedded so only my info will be able to see advisor data X) the rest are just from complete and history endpoint

    Posting in language:

     

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

  • Hehe. Cheating. Although I still use a version of littlelight.link that pulls that data, but it is only hosted on my local machine.

    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