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
ManyToManyField
fromState
) – All states of this eve alliance info (related name ofmember_alliances
)evecorporationinfo (Reverse
ForeignKey
fromEveCorporationInfo
) – All eve corporation infos of this eve alliance info (related name ofalliance
)managedalliancegroup (Reverse
ForeignKey
fromManagedAllianceGroup
) – 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
ManyToManyField
fromState
) – All states of this eve character (related name ofmember_characters
)userprofile (Reverse
OneToOneField
fromUserProfile
) – The user profile of this eve character (related name ofmain_character
)character_ownership (Reverse
OneToOneField
fromCharacterOwnership
) – The character ownership of this eve character (related name ofcharacter
)ownership_records (Reverse
ForeignKey
fromOwnershipRecord
) – All ownership records of this eve character (related name ofcharacter
)application (Reverse
ForeignKey
fromApplication
) – All applications of this eve character (related name ofreviewer_character
)timer (Reverse
ForeignKey
fromTimer
) – All timers of this eve character (related name ofeve_character
)srpfleetmain (Reverse
ForeignKey
fromSrpFleetMain
) – All srp fleet mains of this eve character (related name offleet_commander
)srpuserrequest (Reverse
ForeignKey
fromSrpUserRequest
) – All srp user requests of this eve character (related name ofcharacter
)optimer (Reverse
ForeignKey
fromOpTimer
) – All op timers of this eve character (related name ofeve_character
)fat (Reverse
ForeignKey
fromFat
) – All fats of this eve character (related name ofcharacter
)
- property alliance: Optional[allianceauth.eveonline.models.EveAllianceInfo]
Pseudo foreign key from alliance_id to EveAllianceInfo :raises: EveAllianceInfo.DoesNotExist :return: EveAllianceInfo or None
- property corporation: allianceauth.eveonline.models.EveCorporationInfo
Pseudo foreign key from corporation_id to EveCorporationInfo :raises: EveCorporationInfo.DoesNotExist :return: EveCorporationInfo
- property faction: Optional[allianceauth.eveonline.models.EveFactionInfo]
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 (
ForeignKey
toEveAllianceInfo
) – Alliance (related name:evecorporationinfo
)
Reverse relationships:
- Parameters
state (Reverse
ManyToManyField
fromState
) – All states of this eve corporation info (related name ofmember_corporations
)managedcorpgroup (Reverse
ForeignKey
fromManagedCorpGroup
) – All managed corp groups of this eve corporation info (related name ofcorp
)applicationform (Reverse
OneToOneField
fromApplicationForm
) – The application form of this eve corporation info (related name ofcorp
)timer (Reverse
ForeignKey
fromTimer
) – All timers of this eve corporation info (related name ofeve_corp
)corpstats (Reverse
OneToOneField
fromCorpStats
) – 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
ManyToManyField
fromState
) – All states of this eve faction info (related name ofmember_factions
)