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:

Reverse relationships:

Parameters:
  • state (Reverse ManyToManyField from State) – All states of this eve alliance info (related name of member_alliances)

  • evecorporationinfo (Reverse ForeignKey from EveCorporationInfo) – All eve corporation infos of this eve alliance info (related name of alliance)

  • managedalliancegroup (Reverse ForeignKey from ManagedAllianceGroup) – All managed alliance groups of this eve alliance info (related name of alliance)

static generic_logo_url(alliance_id: int, size: int = 32) str[source]

image URL for the given alliance ID

logo_url(size: int = 32) str[source]

image URL of this alliance

property logo_url_128: str

image URL for this alliance

property logo_url_256: str

image URL for this alliance

property logo_url_32: str

image URL for this alliance

property logo_url_64: str

image URL for this alliance

class EveCharacter(*args, **kwargs)[source]

A character in Eve Online.

Parameters:

Reverse relationships:

Parameters:
  • state (Reverse ManyToManyField from State) – All states of this eve character (related name of member_characters)

  • userprofile (Reverse OneToOneField from UserProfile) – The user profile of this eve character (related name of main_character)

  • character_ownership (Reverse OneToOneField from CharacterOwnership) – The character ownership of this eve character (related name of character)

  • ownership_records (Reverse ForeignKey from OwnershipRecord) – All ownership records of this eve character (related name of character)

  • application (Reverse ForeignKey from Application) – All applications of this eve character (related name of reviewer_character)

  • timer (Reverse ForeignKey from Timer) – All timers of this eve character (related name of eve_character)

  • srpfleetmain (Reverse ForeignKey from SrpFleetMain) – All srp fleet mains of this eve character (related name of fleet_commander)

  • srpuserrequest (Reverse ForeignKey from SrpUserRequest) – All srp user requests of this eve character (related name of character)

  • optimer (Reverse ForeignKey from OpTimer) – All op timers of this eve character (related name of eve_character)

  • fat (Reverse ForeignKey from Fat) – All fats of this eve character (related name of character)

property alliance: EveAllianceInfo | None

Pseudo foreign key from alliance_id to EveAllianceInfo :raises: EveAllianceInfo.DoesNotExist :return: EveAllianceInfo or None

alliance_logo_url(size=32) str[source]

image URL for alliance of this character or empty string

property alliance_logo_url_128: str

image URL for alliance of this character or empty string

property alliance_logo_url_256: str

image URL for alliance of this character or empty string

property alliance_logo_url_32: str

image URL for alliance of this character or empty string

property alliance_logo_url_64: str

image URL for alliance of this character or empty string

property corporation: EveCorporationInfo

Pseudo foreign key from corporation_id to EveCorporationInfo :raises: EveCorporationInfo.DoesNotExist :return: EveCorporationInfo

corporation_logo_url(size=32) str[source]

image URL for corporation of this character

property corporation_logo_url_128: str

image URL for corporation of this character

property corporation_logo_url_256: str

image URL for corporation of this character

property corporation_logo_url_32: str

image URL for corporation of this character

property corporation_logo_url_64: str

image URL for corporation of this character

property faction: EveFactionInfo | None

Pseudo foreign key from faction_id to EveFactionInfo :raises: EveFactionInfo.DoesNotExist :return: EveFactionInfo

faction_logo_url(size=32) str[source]

image URL for alliance of this character or empty string

property faction_logo_url_128: str

image URL for alliance of this character or empty string

property faction_logo_url_256: str

image URL for alliance of this character or empty string

property faction_logo_url_32: str

image URL for alliance of this character or empty string

property faction_logo_url_64: str

image URL for alliance of this character or empty string

static generic_portrait_url(character_id: int, size: int = 32) str[source]

image URL for the given character ID

property is_biomassed: bool

Whether this character is dead or not.

portrait_url(size=32) str[source]

image URL for this character

property portrait_url_128: str

image URL for this character

property portrait_url_256: str

image URL for this character

property portrait_url_32: str

image URL for this character

property portrait_url_64: str

image URL for this character

class EveCorporationInfo(*args, **kwargs)[source]

A corporation in Eve Online.

Parameters:

Relationship fields:

Parameters:

alliance (ForeignKey to EveAllianceInfo) – Alliance (related name: evecorporationinfo)

Reverse relationships:

Parameters:
  • state (Reverse ManyToManyField from State) – All states of this eve corporation info (related name of member_corporations)

  • managedcorpgroup (Reverse ForeignKey from ManagedCorpGroup) – All managed corp groups of this eve corporation info (related name of corp)

  • applicationform (Reverse OneToOneField from ApplicationForm) – The application form of this eve corporation info (related name of corp)

  • timer (Reverse ForeignKey from Timer) – All timers of this eve corporation info (related name of eve_corp)

  • corpstats (Reverse OneToOneField from CorpStats) – The corp stats of this eve corporation info (related name of corp)

static generic_logo_url(corporation_id: int, size: int = 32) str[source]

image URL for the given corporation ID

logo_url(size: int = 32) str[source]

image URL for this corporation

property logo_url_128: str

image URL for this corporation

property logo_url_256: str

image URL for this corporation

property logo_url_32: str

image URL for this corporation

property logo_url_64: str

image URL for this corporation

class EveFactionInfo(*args, **kwargs)[source]

A faction in Eve Online.

Parameters:

Reverse relationships:

Parameters:

state (Reverse ManyToManyField from State) – All states of this eve faction info (related name of member_factions)

static generic_logo_url(faction_id: int, size: int = 32) str[source]

image URL for the given faction ID

logo_url(size: int = 32) str[source]

image URL of this faction

property logo_url_128: str

image URL for this faction

property logo_url_256: str

image URL for this faction

property logo_url_32: str

image URL for this faction

property logo_url_64: str

image URL for this faction