EVE SDE API
This is a Django wrapper around the EVE Online Static Data Export.
Loading Database
Use the YAML SDE dump as documented in Steve's article "New SDE Migration Process".
Use Steve Ronuken's yamlloader to load the database. Database loading may eventually be incorporated as a management command, but not yet.
Once the database is loaded, use python manage.py migrate --fake-initial eve_sde
to set up the Django migrations system and apply any schema or data migrations.
Command Line Tools
item_lookup
and item_id
These two tools do pretty much what they say on the tin: item_lookup
will take an item ID and return the item details, while item_id
will take the name and return the item ID (or item IDs for names that match multiple items).
station
and station_id
As with the item tools, these two return a station name & details based on ID, and station ID(s) based on name.
Examples
[user@host]$ python manage.py item_lookup 12345
name: 200mm Railgun I Blueprint
description:
mass: 0
volume: 0.01m3
[user@host]$ python manage.py item_id "200mm railgun i"
name: 200mm Railgun I
id: 12344
name: 200mm Railgun I Blueprint
id: 12345
name: 200mm Railgun II
id: 12346
name: 200mm Railgun II Blueprint
id: 12347
[user@host]$ python manage.py station 60003199
name: Ruvas VII - State and Region Bank Depository
url: http://evemaps.dotlan.net/station/60003199
[user@host]$ python manage.py station_id "Ruvas VII - State"
id: 60003199
url: http://evemaps.dotlan.net/station/60003199
[user@host]# python manage.py station_id "Ruvas"
name: Ruvas VI - Moon 10 - Hyasyoda Corporation Refinery
id: 60000472
url: https://evemaps.dotlan.net/station/60000472
name: Ruvas II - Sukuuvestaa Corporation Production Plant
id: 60002788
url: https://evemaps.dotlan.net/station/60002788
name: Ruvas VII - State and Region Bank Depository
id: 60003199
url: https://evemaps.dotlan.net/station/60003199
name: Ruvas IV - Moon 1 - Corporate Police Force Assembly Plant
id: 60004399
url: https://evemaps.dotlan.net/station/60004399