JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

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

Request Join
originally posted in:BungieNetPlatform
Edited by Ingulit: 3/17/2015 6:31:20 PM
1

Can I get a pseudocode example -- ANY example -- of how to use the API?

I have been doing a lot of digging and have found a couple of the open source libraries for querying the API, but I am having difficulty following them. The primary problem I have (other than trying to understand unfamiliar languages) is not knowing the big-picture steps being taken, and as such I was hoping to get a pseudocode example of the major steps that need to be taken when using the API in a program. What I'm looking for is for something like this to be expanded upon: [b]login = askForLogin() cookie = getCookie(login) queryResults = performQuery(cookie)[/b] [i]// An example of what a query looks like in a non-language specific way exactly would be supremely helpful // Similarly, an example of what the expected results look like would be awesome too[/i] [b]finalResult =[/b][i] /* process queryResults */[/i] [i]// A general idea of how to process the results would be amazing[/i] Specifically, breaking down the last two steps would be the most helpful, since the first two steps are pretty language-specific. (though how one puts a cookie into the query once you have it would be good to know)

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