Jump to content

How does the destiny api work?


ByMgRs

Recommended Posts

Posted

I am not 100% sure yet just a basic webpage for me to develop an understanding. Maybe something that finds your vanguard and crucible level after inputting your psn/gamertag. Do you have any knowledge of the api? Much appreciated.

 

I am fluent in javascript, html css ect so know roughly what to do :)

  • Netduma Staff
Posted

I am not 100% sure yet just a basic webpage for me to develop an understanding. Maybe something that finds your vanguard and crucible level after inputting your psn/gamertag. Do you have any knowledge of the api? Much appreciated.

 

I am fluent in javascript, html css ect so know roughly what to do :)

 

 

I've never used the Destiny one, no. Not sure if you can just do that in JS/CSS/HTML as you'll have your private API key someone in the JS which would mean other people could see it. If it was just for you to use then it would be ok but if others are using it too they could get your API key :)

Posted

I've never used the Destiny one, no. Not sure if you can just do that in JS/CSS/HTML as you'll have your private API key someone in the JS which would mean other people could see it. If it was just for you to use then it would be ok but if others are using it too they could get your API key :)

Its just for fun not to be published!

  • Netduma Staff
Posted

Its just for fun not to be published!

 

Just checked and you can't make cross-origin HTTP requests to the Destiny servers :/ Don't think it is possible just through JS.

Posted

I believe you have to use a proxy script to connect to destiny through javascript, or if someone could explain I could use php

  • Netduma Staff
Posted

I believe you have to use a proxy script to connect to destiny through javascript, or if someone could explain I could use php

 

Yeah, if you use PHP just do the request to the destiny servers in the PHP then make an AJAX request to that PHP page that returns the info you want. If you want some help come into chat :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...