Skip to content

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.

Asynchronous mirror of :class:RawClient.

Same 1:1 mapping onto the OpenAPI operations, but every method is a coroutine. Returned pydantic models are identical to the sync client. Reachable as tp.raw on :class:~themeparks.AsyncThemeParks.