Sports API.
Covers the documented Sports HTTP endpoints: schedules (per-date, live, prematch and per-tournament), individual fixtures, fixture and result changes, sport-event summaries and timelines, the sport/category/tournament/season catalogue, and player/competitor/venue profiles.
Every function returns {:ok, struct} | {:error, Ecto.Changeset.t()}, where
the struct is an UOF.API.Schemas.Sports.* embedded schema, and takes an
optional lang (ISO code, default "en").
For client-side conveniences over these endpoints — lazily streaming the full
prematch catalogue and filtering sport events by liveodds booking state —
see UOF.API.Sports.Fixtures.
Summary
Functions
List all the available categories for the given sport.
Get the details of the given competitor.
Get the details of the given fixture.
Get a list of all the fixtures that have changed in the last 24 hours.
Get a list of all live fixtures.
Get the details of the given player.
Get a lists of almost all fixtures Betradar offers prematch odds for.
Get a lists of all the fixtures that have changed results in the last 24 hours.
Get a list of all the fixtures scheduled to start at the given date (in UTC).
Get all the seasons of the given tournament.
List all the tournaments for the given sport.
List all the available sports.
Get information and results for the given fixture.
Get detailed information (including event timeline) for the given sport event.
Get details about the given tournament.
Get the schedule of the given tournament.
Get the details of the given venue.
Functions
List all the available categories for the given sport.
Get the details of the given competitor.
Get the details of the given fixture.
Get a list of all the fixtures that have changed in the last 24 hours.
Get a list of all live fixtures.
Get the details of the given player.
Get a lists of almost all fixtures Betradar offers prematch odds for.
Get a lists of all the fixtures that have changed results in the last 24 hours.
Get a list of all the fixtures scheduled to start at the given date (in UTC).
Get all the seasons of the given tournament.
List all the tournaments for the given sport.
List all the available sports.
Get information and results for the given fixture.
Get detailed information (including event timeline) for the given sport event.
Prematch, Live or Post-match. Prematch details are very brief. Post-match
details include results.
Get details about the given tournament.
Get the schedule of the given tournament.
Get the details of the given venue.