These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

How to pull data with new API keys?

Author
Ore Mut
Isometric Robot
#1 - 2012-01-20 05:07:07 UTC
Hello all,

There seems to be a lot of documentation out there, the only problem is that its too much and a lot of it dated.

I have been successfully able to pull data from my own Legacy api using the following:

apikeyinfo.xml.aspx?userID=######&apiKey=#A#A#A#A#A...

However, I have not been able to use this same line to pull into from the new api keys. I get a 203 error authentication failure.



Can someone point me into the right direction here? I've exhausted google, the forum, the wiki, and several dedicated eve development websites.
Ore Mut
Isometric Robot
#2 - 2012-01-20 05:57:06 UTC
I think I figured it out


There was a small different between the old and new system

instead of "apikey" (old) the new api uses "vCode"


https://api.eveonline.com/account/APIKeyInfo.xml.aspx?keyID=######&vCode=XXXXXXXXXXXXXXXX

not

https://api.eveonline.com/account/apikeyinfo.xml.aspx?userID=######&apiKey=#A#A#A#A#A...
Louis Vitton
Viziam
Amarr Empire
#3 - 2012-01-24 12:20:20 UTC
Ore Mut wrote:
I think I figured it out


There was a small different between the old and new system

instead of "apikey" (old) the new api uses "vCode"


https://api.eveonline.com/account/APIKeyInfo.xml.aspx?keyID=######&vCode=XXXXXXXXXXXXXXXX

not

https://api.eveonline.com/account/apikeyinfo.xml.aspx?userID=######&apiKey=#A#A#A#A#A...



Thats it. Also refer to here for more on specific calls for the api.
http://wiki.eve-id.net/APIv2_Page_Index
Ore Mut
Isometric Robot
#4 - 2012-01-25 00:41:54 UTC
Louis Vitton wrote:
Ore Mut wrote:
I think I figured it out


There was a small different between the old and new system

instead of "apikey" (old) the new api uses "vCode"


https://api.eveonline.com/account/APIKeyInfo.xml.aspx?keyID=######&vCode=XXXXXXXXXXXXXXXX

not

https://api.eveonline.com/account/apikeyinfo.xml.aspx?userID=######&apiKey=#A#A#A#A#A...



Thats it. Also refer to here for more on specific calls for the api.
http://wiki.eve-id.net/APIv2_Page_Index


Thanks for the resource. Bookmarked.
Louis Vitton
Viziam
Amarr Empire
#5 - 2012-01-27 01:27:27 UTC
Also you may want to try a library that will help you make the calls and cache them.

I would suggest pheal or yapeal, both of which are php i believe.

Cheers.