Base Handler
A base class for all tfl handlers.
TFLHandler
¶
Bases: abc.ABC
A base class for all tfl handlers.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
client |
httpx.AsyncClient
|
The client to use when sending requests. |
required |
Raises:
Type | Description |
---|---|
ValueError
|
If the client does not have a base URL of https://api.tfl.gov.uk. |