Pokeathlon Stats
PokeathlonStat
¶
Represent a Pokéathlon stat resource returned by PokéAPI.
Pokéathlon stats measure different aspects of a Pokémon's performance in Pokéathlon competitions.
This model corresponds to the https://pokeapi.co/api/v2/pokeathlon-stat/{id or name}/ endpoint.
Attributes:
| Name | Type | Description |
|---|---|---|
id |
int
|
The unique identifier of the Pokéathlon stat. |
name |
str
|
The name of the Pokéathlon stat. |
names |
list[Name]
|
The localized names of this Pokéathlon stat in different languages. |
affecting_natures |
NaturePokeathlonStatAffectSets
|
The natures that increase or decrease this Pokéathlon stat and the amount of change. |
NaturePokeathlonStatAffectSets
¶
Represent the effects of natures on a Pokéathlon stat.
Attributes:
| Name | Type | Description |
|---|---|---|
increase |
list[NaturePokeathlonStatAffect]
|
The natures that increase this Pokéathlon stat and their maximum changes. |
decrease |
list[NaturePokeathlonStatAffect]
|
The natures that decrease this Pokéathlon stat and their maximum changes. |
NaturePokeathlonStatAffect
¶
Represent the effect of a nature on a Pokéathlon stat.
Attributes:
| Name | Type | Description |
|---|---|---|
max_change |
int
|
The maximum amount by which the nature changes the Pokéathlon stat. |
nature |
NamedAPIResource
|
The nature responsible for the change. |