Now pulls in more information from the character API.

This commit is contained in:
2010-04-02 23:02:45 +01:00
parent 9c6272d4f5
commit 1637318522
3 changed files with 104 additions and 26 deletions

View File

@@ -12,4 +12,39 @@ API_STATUS_CHOICES = (
(API_STATUS_OK, 'OK'),
(API_STATUS_AUTH_ERROR, 'Auth Error'),
(API_STATUS_OTHER_ERROR, 'Other Error'),
)
)
API_GENDER_CHOICES = (
(1, 'Male'),
(2, 'Female'),
)
API_RACES_CHOICES = (
(1, 'Sebiestor'),
(2, 'Vherokior'),
(3, 'Brutor'),
(4, 'Intaki'),
(5, 'Gallente'),
(6, 'Jin-Mei'),
(7, 'Civire'),
(8, 'Deteis'),
(9, 'Achura'),
(10, 'Amarr'),
(11, 'Khanid'),
(12, 'Ni-Kunni'),
)
API_RACES = {
'Sebiestor': 1,
'Vherokior': 2,
'Brutor': 3,
'Intaki': 4,
'Gallente': 5,
'Jin-Mei': 6,
'Civire': 7,
'Deteis': 8,
'Achura': 9,
'Amarr': 10,
'Khanid': 11,
'Ni-Kunni': 12,
}