Location
models concerning the location
Location
Bases: BaseModel
location model
Source code in pyclasher/api/models/location.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
country_code: Missing | str
property
location country code
:return: the country code of the location if available :rtype: int | MISSING
id: int
property
location ID
:return: the ID of the location :rtype: int
localized_name: str
property
localized name of the location
:return: the location's localized name :rtype: str
name: str
property
location name
:return: the name of the location :rtype: str
LocationList
Bases: IterBaseModel
location list model
can be iterated over
Source code in pyclasher/api/models/location.py
26 27 |
|