Implement fetching of certain data from OpenF1
This commit is contained in:
9
formula10/openf1/openf1_definitions.py
Normal file
9
formula10/openf1/openf1_definitions.py
Normal file
@ -0,0 +1,9 @@
|
||||
OPENF1_URL: str = "https://api.openf1.org/v1"
|
||||
|
||||
OPENF1_SESSION_ENDPOINT: str = f"{OPENF1_URL}/sessions"
|
||||
OPENF1_POSITION_ENDPOINT: str = f"{OPENF1_URL}/position"
|
||||
OPENF1_DRIVER_ENDPOINT: str = f"{OPENF1_URL}/drivers"
|
||||
|
||||
OPENF1_SESSION_TYPE_RACE: str = "Race"
|
||||
OPENF1_SESSION_NAME_RACE: str = "Race"
|
||||
OPENF1_SESSION_NAME_SPRINT: str = "Sprint"
|
||||
Reference in New Issue
Block a user