originally posted in:BungieNetPlatform
View Entire Topic
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)
English
-
The only way to get the cookies you need is to log in to bungie.net in the same way you do already with a browser, which means you can't build your own login form.