Models¶
Generated pydantic models for ThemeParks.wiki API payloads. Only the most
commonly used models are documented here — see
themeparks._generated.models
for the full set.
Enums¶
Bases: Enum
An entity's status. OPERATING: open and running. DOWN: stopped for now, for example by a breakdown, when it would otherwise be running. CLOSED: not open. REFURBISHMENT: closed for a longer period of maintenance or rebuilding.
Entity data¶
Bases: ApiModel
A single entity. It may also carry attribute keys not listed here, named after the attribute, e.g. minimumHeight (integer, centimetres) or mayGetWet (boolean). Which ones appear varies by entity, so read the ones you need and do not assume any is present.
attractionType
class-attribute
instance-attribute
¶
Kind of attraction. Present on ATTRACTION entities.
destinationId
class-attribute
instance-attribute
¶
DestinationEntry identifier
parkId
class-attribute
instance-attribute
¶
Identifier of the park this entity belongs to. Absent on destinations and on parks themselves.
externalId
class-attribute
instance-attribute
¶
The park operator's own id for this entity.
slug
class-attribute
instance-attribute
¶
URL-friendly slug. Served for destinations.
Live data¶
Queues¶
Bases: ApiModel
The queues an entity has, each present only when the entity publishes it. StandbyQueue: the ordinary line. SINGLE_RIDER: a separate line for guests riding alone. RETURN_TIME: a free reservation for a later time window. PAID_RETURN_TIME: the same, paid for. BOARDING_GROUP: a virtual queue that calls groups by number. PAID_STANDBY: a paid line with its own wait.
Bases: ApiModel
waitTime
class-attribute
instance-attribute
¶
Current standby wait time in minutes
Bases: ApiModel
waitTime
class-attribute
instance-attribute
¶
Current single rider wait time in minutes
Bases: ApiModel
currentGroupStart
class-attribute
instance-attribute
¶
Current boarding group start number
currentGroupEnd
class-attribute
instance-attribute
¶
Current boarding group end number
nextAllocationTime
class-attribute
instance-attribute
¶
Next boarding group allocation time
estimatedWait
class-attribute
instance-attribute
¶
Estimated wait time in minutes
Bases: ApiModel
waitTime
class-attribute
instance-attribute
¶
Current paid standby wait time in minutes
Shows and dining¶
Schedule¶
Bases: ApiModel
parks
class-attribute
instance-attribute
¶
Only included for destinations, lists all parks within the destination
Destinations¶
Shared¶
Bases: ApiModel
amount
class-attribute
instance-attribute
¶
Numerical price amount, in the currency's lowest denomination (e.g. cents). null when the item costs money but the provider does not publish an amount; 0 means genuinely free