pytenno.models.enums

class pytenno.models.enums.AnimationFormat(value)[source]

Represents the format of an animation.

land

The animation is in landscape format.

Type

int

port

The animation is in portrait format.

Type

int

class pytenno.models.enums.AuctionMarking(value)[source]

Represents the marking of an auction.

removing

The auction is marked for removal.

Type

int

archiving

The auction is marked for archiving.

Type

int

class pytenno.models.enums.AuctionType(value)[source]

Represents the type of an auction.

riven

The auction is for a riven.

Type

int

lich

The auction is for a lich.

Type

int

kubrow

The auction is for a kubrow.

Type

int

class pytenno.models.enums.Base(value)[source]

Base class for all enums. :meta private:

class pytenno.models.enums.DropSourceType(value)[source]

Represents the type of drop source.

relic

The source of the drop was a relic.

Type

int

class pytenno.models.enums.Element(value)[source]

Represents the element of a weapon, ephemera, or lich weapon.

impact

The element is impact.

Type

int

heat

The element is heat.

Type

int

cold

The element is cold.

Type

int

electricity

The element is electricity.

Type

int

toxin

The element is toxin.

Type

int

magnetic

The element is magnetic.

Type

int

radiation

The element is radiation.

Type

int

Notes

This does not include combined elements, aka. .heat + .cold -> blast.

class pytenno.models.enums.Faction(value)[source]

Represents the faction of a mission node.

infested

The node is controlled by the Infested.

Type

int

grineer

The node is controlled by the Grineer.

Type

int

corpus

The node is controlled by the Corpus.

Type

int

corrupted

The node is controlled by the Corrupted.

Type

int

class pytenno.models.enums.FishSize(value)[source]

Represents the size of a fish.

small

The size of a small fish.

Type

int

medium

The size of a medium fish.

Type

int

large

The size of a large fish.

Type

int

class pytenno.models.enums.FortunaFishQuality(value)[source]

Represents the quality of a fish in fortuna

basic

The quality of a basic fish.

Type

int

adorned

The quality of an adorned fish.

Type

int

magnificent

The quality of a magnificent fish.

Type

int

class pytenno.models.enums.IconFormat(value)[source]

Represents the format of an icon.

land

The icon is in landscape format.

Type

int

port

The icon is in portrait format.

Type

int

class pytenno.models.enums.ItemRarity(value)[source]

Represents the rarity of an item.

very_common

The rarity of a very common item.

Type

int

common

The rarity of a common item.

Type

int

uncommon

The rarity of an uncommon item.

Type

int

rare

The rarity of a rare item.

Type

int

legendary

The rarity of a legendary item.

Type

int

peculiar

The rarity of a peculiar item.

Type

int

class pytenno.models.enums.MeasurementUnit(value)[source]

Represents the measurement unit, for riven attributes.

seconds

The measurement unit is seconds.

Type

int

percent

The measurement unit is percent.

Type

int

class pytenno.models.enums.OrderType(value)[source]

Represents the type of an order.

buy

The order is buying the item(s).

Type

int

sell

The order is selling the item(s).

Type

int

class pytenno.models.enums.PatreonBadge(value)[source]

Represents the patreon badge of a user.

bronze

The badge is bronze.

Type

int

silver

The badge is silver.

Type

int

gold

The badge is gold.

Type

int

platinum

The badge is platinum.

Type

int

class pytenno.models.enums.Platform(value)[source]

Represents the platform of a user, order, or auction.

ps4

The platform is on PlayStation 4.

Type

int

pc

The platform is on PC.

Type

int

xbox

The platform is on Xbox.

Type

int

switch

The platform is on Nintendo Switch.

Type

int

class pytenno.models.enums.Polarity(value)[source]

Represents the polarity of a mod.

madurai

The mod is madurai.

Type

int

vazarin

The mod is vazarin.

Type

int

naramon

The mod is naramon.

Type

int

zanurik

The mod is zanurik.

Type

int

any

The mod is any polarity. Used in some search scenarios.

Type

int

class pytenno.models.enums.RelicQuality(value)[source]

Represents the quality of a relic.

intact

The quality of an intact relic.

Type

int

exceptional

The quality of an exceptional relic.

Type

int

flawless

The quality of a flawless relic.

Type

int

radiant

The quality of a radiant relic.

Type

int

class pytenno.models.enums.RivenAttributeGroup(value)[source]

Represents the group of an riven attribute. Used for grouping UI elements.

default

The attribute is in the default group.

Type

int

melee

The attribute is in the melee group.

Type

int

top

The attribute is at the top of the group.

Type

int

class pytenno.models.enums.RivenStat(value)[source]

Represents the stat of a riven attribute.

Notes

The stat names do not always line up with the actual names in Warframe.

Some names, such as .fire_rate_attack_speed, are modified versions of the names in the API, due to limitations of Python. Calling the .__str__ method will return the actual name.

ammo_maximum = 0

The stat modifies the maximum ammo of the weapon the riven is on.

chance_to_gain_extra_combo_count = 24

The stat modifies the chance for the weapon to gain an extra combo count on a hit.

channeling_damage = 29

The stat modifies the channeling damage (heavy attack damage) of the weapon the riven is on.

channeling_efficiency = 28

The stat modifies the channeling efficiency (heavy attack efficiency) of the weapon the riven is on.

cold = 1

The stat modifies the Element.cold damage of the weapon the riven is on.

combo_duration = 25

The stat modifies the duration of the combo of the weapon the riven is on.

critical_chance = 2

The stat modifies the critical chance damage of the weapon the riven is on.

critical_chance_on_slide_attack = 26

The stat modifies the critical chance on a slide attack of the weapon the riven is on.

damage = 3

The stat modifies the base damage of the weapon the riven is on.

damage_vs_corpus = 4

The stat modifies the damage of the weapon the riven is on against the Corpus.

damage_vs_grineer = 5

The stat modifies the damage of the weapon the riven is on against the Corpus.

damage_vs_infested = 6

The stat modifies the damage of the weapon the riven is on against the faction.

electricity = 7

The stat modifies the Element.electricity damage of the weapon the riven is on.

finisher_damage = 27

The stat modifies the finisher damage of the weapon the riven is on.

fire_rate_attack_speed = 8

The stat modifies the fire rate / attack speed of the weapon the riven is on.

heat = 9

The stat modifies the Element.heat damage of the weapon the riven is on.

impact = 10

The stat modifies the Element.impact damage of the weapon the riven is on.

initial_combo = 22

The stat modifies the initial combo of the weapon the riven is on.

magazine_capacity = 11

The stat modifies the magazine capacity of the weapon the riven is on.

multishot = 12

The stat modifies the multishot of the weapon the riven is on.

projectile_speed = 13

The stat modifies the projectile speed of the weapon the riven is on.

punch_through = 14

The stat modifies the punch through of the weapon the riven is on.

puncture = 15

The stat modifies the Element.puncture damage of the weapon the riven is on.

range = 23

The stat modifies the range of the weapon the riven is on.

reload_speed = 16

The stat modifies the reload speed of the weapon the riven is on.

slash = 17

The stat modifies the Element.slash damage of the weapon the riven is on.

status_chance = 18

The stat modifies the status chance of the weapon the riven is on.

status_duration = 19

The stat modifies the status duration of the weapon the riven is on.

toxin = 20

The stat modifies the Element.toxin damage of the weapon the riven is on.

weapon_recoil = 21

The stat modifies the weapon recoil of the weapon the riven is on.

class pytenno.models.enums.RivenWeaponGroup(value)[source]

Represents group of weapon a riven is on.

primary

The riven is on a primary weapon.

Type

int

secondary

The riven is on a secondary weapon.

Type

int

melee

The riven is on a melee weapon.

Type

int

zaw

The riven is on a zaw.

Type

int

sentinel

The riven is on a sentinel weapon.

Type

int

archgun

The riven is on an arch gun.

Type

int

kitgun

The riven is on a kit gun.

Type

int

class pytenno.models.enums.RivenWeaponType(value)[source]

Represents the type of the weapon a riven is on.

rifle

The riven in on a rifle-class weapon.

Type

int

shotgun

The riven in on a shotgun-class weapon.

Type

int

pistol

The riven in on a pistol-class weapon.

Type

int

melee

The riven in on a melee-class weapon.

Type

int

zaw

The riven in on a zaw-class weapon.

Type

int

kitgun

The riven in on a kitgun-class weapon.

Type

int

class pytenno.models.enums.Rotation(value)[source]

Represents the rotation of a stage.

a

The stage is in rotation A.

Type

int

b

The stage is in rotation B.

Type

int

c

The stage is in rotation C.

Type

int

class pytenno.models.enums.Stage(value)[source]

Represents the stage of a mission.

_1

The stage is 1.

Type

int

_2

The stage is 2.

Type

int

_3

The stage is 3.

Type

int

_4

The stage is 4.

Type

int

final

The stage is the final stage.

Type

int

class pytenno.models.enums.Subtype(value)[source]

Represents the subtype of an item. Basically a combination of RelicQuality, FishSize and FortunaFishQuality.

intact

The subtype of an intact relic.

Type

int

exceptional

The subtype of an exceptional relic.

Type

int

flawless

The subtype of a flawless relic.

Type

int

radiant

The subtype of a radiant relic.

Type

int

small

The subtype of a small fish.

Type

int

medium

The subtype of a medium fish.

Type

int

large

The subtype of a large fish.

Type

int

basic

The subtype of a basic fortuna fish.

Type

int

adorned

The subtype of an adorned fortuna fish.

Type

int

magnificent

The subtype of a magnificent fortuna fish.

Type

int

class pytenno.models.enums.TranslationLanguage(value)[source]

Represents the language of a translation.

en

The translation is in English.

Type

int

ru

The translation is in Russian.

Type

int

ko

The translation is in Korean.

Type

int

fr

The translation is in French.

Type

int

sv

The translation is in Swedish.

Type

int

de

The translation is in German.

Type

int

zh_hant

The translation is in Chinese (Traditional).

Type

int

zh_hans

The translation is in Chinese (Simplified).

Type

int

pt

The translation is in Portuguese.

Type

int

es

The translation is in Spanish.

Type

int

pl

The translation is in Polish.

Type

int

class pytenno.models.enums.UserRole(value)[source]

Represents the role of a user.

anonymous

The user is an anonymous user.

Type

int

user

The user is a regular user.

Type

int

moderator

The user is a moderator.

Type

int

admin

The user is an admin.

Type

int

class pytenno.models.enums.UserStatus(value)[source]

Represents the status of a user.

offline

The user is offline.

Type

int

online

The user is online.

Type

int

ingame

The user is in Warframe.

Type

int