Raw client¶
Low-level HTTP wrappers. You usually don't need these directly — use
ThemeParks or the entity helpers instead. They're
exposed for cases where you want to call an endpoint that doesn't yet have an
ergonomic wrapper.
Thin, 1:1 synchronous wrapper over the ThemeParks OpenAPI operations.
Each method maps to a single HTTP GET and returns a validated pydantic
model from :mod:themeparks._generated.models. No convenience logic
lives here: this is the layer that ergonomic helpers build on, and the
same layer users can reach directly via tp.raw when they need the
untransformed response shape.
get_entity_history ¶
get_entity_history(entity_id: str, *, date: str | None = None, start: str | None = None, end: str | None = None) -> HistoryEnvelope | HistoryParkRawEnvelope
Every recorded change for an entity, or for a whole park.
get_entity_history_daily ¶
get_entity_history_daily(entity_id: str, *, date: str | None = None, start: str | None = None, end: str | None = None) -> HistoryDailyEnvelope | HistoryParkDailyEnvelope
One summary row per park-local day, for an entity or a whole park.
get_entity_history_coverage ¶
get_entity_history_coverage(entity_id: str) -> HistoryCoverageDocument | HistoryParkCoverageDocument
What history exists for an entity, field by field.
get_path ¶
Fetch a path the API itself handed us.
Only used to follow a next page link. The history endpoints page by
returning an absolute URL, and re-deriving it from its parts is how a
client drifts from the server's own idea of where the next page is.