Encounter Methods
EncounterMethod
¶
Represent an encounter method resource returned by PokéAPI.
Encounter methods describe how players can encounter wild Pokémon, such as walking through tall grass or exploring a cave.
This model corresponds to the https://pokeapi.co/api/v2/encounter-method/{id or name}/ endpoint.
Attributes:
| Name | Type | Description |
|---|---|---|
id |
int
|
The unique identifier of the encounter method. |
name |
str
|
The name of the encounter method. |
order |
int
|
The value used to sort encounter methods. |
names |
list[Name]
|
The localized names of this encounter method in different languages. |