Support for Incarna v1.1, Customizable API Keys

- Support CAK keys and their spinoffs
- Add support for the Employment History data available in CharacterInfo.xml.aspx
- Add a Gargoyle flag to disable backend processing when needed
- Clean up a few inconsistancies with how the models are handled
This commit is contained in:
2011-08-31 13:42:09 +01:00
parent eb4bf84c01
commit ad56058631
20 changed files with 811 additions and 121 deletions

View File

@@ -19,11 +19,17 @@ API_STATUS_CHOICES = (
API_KEYTYPE_UNKNOWN = 0
API_KEYTYPE_LIMITED = 1
API_KEYTYPE_FULL = 2
API_KEYTYPE_CORPORATION = 3
API_KEYTYPE_CHARACTER = 4
API_KEYTYPE_ACCOUNT = 5
API_KEYTYPE_CHOICES = (
(API_KEYTYPE_UNKNOWN, 'Unknown'),
(API_KEYTYPE_LIMITED, 'Limited'),
(API_KEYTYPE_FULL, 'Full'),
(API_KEYTYPE_CORPORATION, 'Corporation'),
(API_KEYTYPE_CHARACTER, 'Character'),
(API_KEYTYPE_ACCOUNT, 'Account'),
)
API_GENDER_MALE = 1