Items
pokelance.models.abstract.utils.items
⚓︎
ItemHolderPokemon
⚓︎
Bases: BaseModel
An item holder pokemon resource.
Attributes:
| Name | Type | Description |
|---|---|---|
pokemon |
NamedResource
|
The Pokémon that holds this item. |
version_details |
List[ItemHolderPokemonVersionDetail]
|
The details for the version that this item is held in by the Pokémon. |
ItemHolderPokemonVersionDetail
⚓︎
Bases: BaseModel
An item holder pokemon version detail resource.
Attributes:
| Name | Type | Description |
|---|---|---|
rarity |
int
|
The chance of this Pokémon holding this item in this version. |
version |
NamedResource
|
The version that this item is held in by the Pokémon. |
ItemPrice
⚓︎
Bases: BaseModel
An item price resource.
Attributes:
| Name | Type | Description |
|---|---|---|
currency |
NamedResource
|
The currency used for this price. |
purchase_price |
Optional[int]
|
The purchase price of this item in this version group. Null if the item cannot be purchased. |
sell_price |
Optional[int]
|
The sell price of this item in this version group. Null if the item cannot be sold. |
version_group |
NamedResource
|
The version group these prices apply to. |