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.
 

UserID and KeyID with New API Keys

Author
Shen Rajinto
InterSun Freelance
#1 - 2011-09-13 03:50:43 UTC  |  Edited by: Shen Rajinto
Hello, I'm really just learning about this stuff, but I'm trying to pass a new API key I made to test APIKeyInfo.xml.aspx to see if an API key is for one character or the full account.

https://api.eveonline.com/account/apikeyinfo.xml.aspx?keyID=26845&apikey=s4qf6CxN7c6ZfSfQ8zloXhigOB3KHqWnvBPULDq2X0if0hI7b5tlAOegktF

I keep getting an authentication error (203) when I send the above. I'm not sure if I'm using the wrong KeyID or what.

On the Your API Keys webpage, I'm using the ID as the KeyID and the Verification Code as the API Key. Is that correct? or should I be using a UserID (though I can't find it on that page at all).
Johnathan Roark
Quantum Industries
#2 - 2011-09-13 04:29:47 UTC
First off, change your vCode now that you've given it out to everyone.

This is the correct format:
https://api.eveonline.com/account/apikeyinfo.xml.aspx?keyID=26845&vCode=vcodegoeshere

Forget userID and apikey, they mean nothing now. userid no longer exist and apikey refers to the key pair of both keyID and vCode.

This will be a character type key, in the xml it will output after you fix yoru parameters, you'll see a type='Character' , if it where an account key, it would say type='Account'. Select 'All' in the dropdown box for type when creating a key.

FYI, I hate the new forums because its slow to type a reply and it doesn't like xml, syas its html and I type this 3 times now

EVEVERIFY - A recruiting API Verification and Audit Tool

Also try out Yapeal for your php api needs

Shen Rajinto
InterSun Freelance
#3 - 2011-09-13 04:39:36 UTC
Thank you.. is a very limited vCode.. will expire tomorrow, and doesn't tell anything more than a simple evegate search of my character name.