eveonline
The eveonline package provides models for commonly used Eve Online entities like characters, corporations and alliances. All models have the ability to be loaded from ESI.
Location: allianceauth.eveonline
models
- class EveAllianceInfo(*args, **kwargs)[source]
An alliance in Eve Online.
- Parameters:
id (AutoField) – Primary key: ID
alliance_id (PositiveIntegerField) – Alliance id
alliance_name (CharField) – Alliance name
alliance_ticker (CharField) – Alliance ticker
executor_corp_id (PositiveIntegerField) – Executor corp id
Reverse relationships:
- Parameters:
state (Reverse
ManyToManyFieldfromState) – All states of this eve alliance info (related name ofmember_alliances)evecorporationinfo (Reverse
ForeignKeyfromEveCorporationInfo) – All eve corporation infos of this eve alliance info (related name ofalliance)managedalliancegroup (Reverse
ForeignKeyfromManagedAllianceGroup) – All managed alliance groups of this eve alliance info (related name ofalliance)
- class EveCharacter(*args, **kwargs)[source]
A character in Eve Online.
- Parameters:
id (AutoField) – Primary key: ID
character_id (PositiveIntegerField) – Character id
character_name (CharField) – Character name
corporation_id (PositiveIntegerField) – Corporation id
corporation_name (CharField) – Corporation name
corporation_ticker (CharField) – Corporation ticker
alliance_id (PositiveIntegerField) – Alliance id
alliance_name (CharField) – Alliance name
alliance_ticker (CharField) – Alliance ticker
faction_id (PositiveIntegerField) – Faction id
faction_name (CharField) – Faction name
Reverse relationships:
- Parameters:
state (Reverse
ManyToManyFieldfromState) – All states of this eve character (related name ofmember_characters)userprofile (Reverse
OneToOneFieldfromUserProfile) – The user profile of this eve character (related name ofmain_character)character_ownership (Reverse
OneToOneFieldfromCharacterOwnership) – The character ownership of this eve character (related name ofcharacter)ownership_records (Reverse
ForeignKeyfromOwnershipRecord) – All ownership records of this eve character (related name ofcharacter)application (Reverse
ForeignKeyfromApplication) – All applications of this eve character (related name ofreviewer_character)timer (Reverse
ForeignKeyfromTimer) – All timers of this eve character (related name ofeve_character)srpfleetmain (Reverse
ForeignKeyfromSrpFleetMain) – All srp fleet mains of this eve character (related name offleet_commander)srpuserrequest (Reverse
ForeignKeyfromSrpUserRequest) – All srp user requests of this eve character (related name ofcharacter)optimer (Reverse
ForeignKeyfromOpTimer) – All op timers of this eve character (related name ofeve_character)fat (Reverse
ForeignKeyfromFat) – All fats of this eve character (related name ofcharacter)
- property alliance: EveAllianceInfo | None
Pseudo foreign key from alliance_id to EveAllianceInfo :raises: EveAllianceInfo.DoesNotExist :return: EveAllianceInfo or None
- property corporation: EveCorporationInfo
Pseudo foreign key from corporation_id to EveCorporationInfo :raises: EveCorporationInfo.DoesNotExist :return: EveCorporationInfo
- property faction: EveFactionInfo | None
Pseudo foreign key from faction_id to EveFactionInfo :raises: EveFactionInfo.DoesNotExist :return: EveFactionInfo
- class EveCorporationInfo(*args, **kwargs)[source]
A corporation in Eve Online.
- Parameters:
id (AutoField) – Primary key: ID
corporation_id (PositiveIntegerField) – Corporation id
corporation_name (CharField) – Corporation name
corporation_ticker (CharField) – Corporation ticker
member_count (IntegerField) – Member count
ceo_id (PositiveIntegerField) – Ceo id
Relationship fields:
- Parameters:
alliance (
ForeignKeytoEveAllianceInfo) – Alliance (related name:evecorporationinfo)
Reverse relationships:
- Parameters:
state (Reverse
ManyToManyFieldfromState) – All states of this eve corporation info (related name ofmember_corporations)managedcorpgroup (Reverse
ForeignKeyfromManagedCorpGroup) – All managed corp groups of this eve corporation info (related name ofcorp)applicationform (Reverse
OneToOneFieldfromApplicationForm) – The application form of this eve corporation info (related name ofcorp)timer (Reverse
ForeignKeyfromTimer) – All timers of this eve corporation info (related name ofeve_corp)corpstats (Reverse
OneToOneFieldfromCorpStats) – The corp stats of this eve corporation info (related name ofcorp)
- class EveFactionInfo(*args, **kwargs)[source]
A faction in Eve Online.
- Parameters:
id (AutoField) – Primary key: ID
faction_id (PositiveIntegerField) – Faction id
faction_name (CharField) – Faction name
Reverse relationships:
- Parameters:
state (Reverse
ManyToManyFieldfromState) – All states of this eve faction info (related name ofmember_factions)