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.
 

EVE API Endpoint Call List

Author
Bellamy Flynn
Hole Truth
#1 - 2016-03-12 04:40:29 UTC
Hello smart people!

I'm working a python parser for the EVE API, basically sorting them into classes to simplify other projects (I know there are libraries available but I thought it would be a fun excercise). I found a call list of all the endpoints, but it seems to be outdated, so there are quite a few exceptions when I cycle through the calls (see here - the results don't match what is listed on the third party documentation site). Does anyone know how often this calllist is updated, or if there is a better maintained way to see the updated available endpoints?

I thought that using that API would be the most accurate way to proceduraly generate a file with classes that are up-to-date, but maybe not?

Please keep in mind I'm pretty amateur so talk to me like a newbro. Roll

If it's helpful, here's some of the discrepancies I found with endpoint names and types, though there are probably more.


#Fix deprecated API endpoints
        if ep_name == 'Locations':
            ep_name = 'AssetList'
        if ep_name == 'AccountStatus':
            ep_type = 'account'
        if ep_name == 'CharacterInfo':
            ep_name = 'AccountBalance'
Blacksmoke16
Imperial Academy
#2 - 2016-03-12 11:26:12 UTC
Desmont McCallock
#3 - 2016-03-12 12:46:55 UTC  |  Edited by: Desmont McCallock
Bellamy Flynn wrote:
Hello smart people!

I'm working a python parser for the EVE API, basically sorting them into classes to simplify other projects (I know there are libraries available but I thought it would be a fun excercise). I found a call list of all the endpoints, but it seems to be outdated, so there are quite a few exceptions when I cycle through the calls (see here - the results don't match what is listed on the third party documentation site). Does anyone know how often this calllist is updated, or if there is a better maintained way to see the updated available endpoints?

I thought that using that API would be the most accurate way to proceduraly generate a file with classes that are up-to-date, but maybe not?

Please keep in mind I'm pretty amateur so talk to me like a newbro. Roll

If it's helpful, here's some of the discrepancies I found with endpoint names and types, though there are probably more.


#Fix deprecated API endpoints
        if ep_name == 'Locations':
            ep_name = 'AssetList'
        if ep_name == 'AccountStatus':
            ep_type = 'account'
        if ep_name == 'CharacterInfo':
            ep_name = 'AccountBalance'
AFAIK there are no discrepancies in the call list and those endpoints you mention are not deprecated.
Endpoints are categorized by type. Note that this list only includes the endpoints that have an access mask.
Locations is diff than AssetList.
AccountStatus although it's of type Character belongs in the account category (thus the diff url path).
CharacterInfo is diff than AccountBallance, as CharacterInfo has a private and public returned result (which exposes diff info of the charater) and AccountBalance just has info about the balance.

You should read the docs more thoroughly (especially http://eveonline-third-party-documentation.readthedocs.org/en/latest/xmlapi/endpoints/ ).
Bellamy Flynn
Hole Truth
#4 - 2016-03-12 13:47:20 UTC
Desmont McCallock wrote:

Thanks for the help guys! I think I understand the CharacterInfo endpoint now, looks like it is of (what I'm calling) "type" eve (affecting the url as in https://api.eveonline.com/eve....) although it's listed as type="Character" in the call list, I guess because it requires a character API key and vCode to get the private information for the character ID you supply.

AccountStatus was similar, just needed to adjust the url to "account" instead of "char". I wish that was reflected somewhere in the call list so I didn't have to hard code it in. I'm not sure I understand why the call list calls it type = "Character" since it requires an account API (which I guess is still a "character" API as opposed to a "corp API", I suppose that's why). It would be nice if the call list distinguished between char, corp, account, eve, etc.

Still having trouble understanding "Locations" though. The API returns an error when I call it and if I click on "Locations" in the link you provided to see the documentation I get a 404 page. That's why I assumed the asset location information was rolled into AssetList at some point.

Apologies if I'm just too dense to understand Blink
Desmont McCallock
#5 - 2016-03-12 16:15:58 UTC
Locations is the hardest endpoint to get your head around it. It exposes the "location" (x,y,z in the eve universe) where your stuff are.