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.
 

API with Matlab

Author
Tokreal
StarHug
#1 - 2012-01-19 21:17:19 UTC
Hello,

well i thought i gonna build my own little trading tool in Matlab. (Unfortunatelly i'm not really fluent in all the languages there is a api lib for, i mostly use Matlab and C/C++). And as playing around with data in Matlab is quite easy i use this.

Currently i am trying to figure a way out to get api information to matlab.
I use urlread to get the data
str = urlread('http://api.eve-online.com/char/CharacterSheet.xml.aspx?userID=xxxxxxxx&apiKey=yyyyyyyyy&characterID=zzzzzzzz');

However all i get is an authentication failure (yes i have tripple checked the api key etc.).

Does anyone know a solution to this?

Alternativly i could use mex files (in which i would use C) to import the data. However according to https://forums.eveonline.com/default.aspx?g=posts&t=6375&find=unread there is no api lib for C.
Ore Mut
Isometric Robot
#2 - 2012-01-20 05:10:58 UTC
I'm having a similar problem,

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

with the new api I get an authentication error, but strangely it works fine with the older legacy api key.
Ore Mut
Isometric Robot
#3 - 2012-01-20 05:58:56 UTC



replace "apiKey" with "vCode" and see where that gets you.
Dragonaire
Here there be Dragons
#4 - 2012-01-20 07:01:37 UTC
You'll need to use keyID and vCode instead of the old stuff. Take a look at http://wiki.eve-id.net/APIv2_Page_Index

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

Tokreal
StarHug
#5 - 2012-01-20 17:44:00 UTC
Great thanks it worked with keyID and vCode :)