thesportsdb-client

TheSportsDb

Table of Contents

Namespaces

Cache
Exception
Http
Model
V1
V2

Interfaces

Clock
Time source for rate limiting, retries and timing. Replace it in tests to avoid real waits.

Classes

Config
Client settings. Pass them to SportsDb's constructor as named arguments.
Helpers
Common tasks in one call. Each helper uses v2 with a premium key and v1 with a free key (then the free keys' small limits apply). Any key other than the free keys that the API accepts is a paid key, so no extra call is made to find out. Events come back sorted by start time.
RequestEvent
One finished API call, passed to Config::$requestListener.
SportsDb
The TheSportsDB client.
SystemClock
On this page

Search results