Documentation Index
Fetch the complete documentation index at: https://mintlify.com/TracingInsights/tif1/llms.txt
Use this file to discover all available pages before exploring further.
Function Signature
Description
Get the complete event schedule for a Formula 1 season. Returns anEventSchedule object containing all championship races and testing events for the specified year.
This function is an alias for get_event_schedule(year) and provides FastF1 API compatibility.
Parameters
Championship year to get events for. Must be 2018 or later (limited by available data).
Returns
A pandas DataFrame-like object with event information. Each row represents one event with the following columns:Event Identification:
RoundNumber(int): Official round number (0 for testing events)EventName(str): Official event nameOfficialEventName(str): Full official event nameCountry(str): Country where event takes placeLocation(str): City/circuit location
EventDate(Timestamp): Date of the main eventEventFormat(str): Format type (“conventional”, “sprint”, etc.)F1ApiSupport(bool): Whether F1 API supports this eventGmtOffset(str): GMT offset for local time
Session1,Session2,Session3,Session4,Session5(str): Session namesSession1Date,Session2Date, etc. (Timestamp): Local session timesSession1DateUtc,Session2DateUtc, etc. (Timestamp): UTC session times
year(int): Season year
get_event_by_round(round_number: int) -> Event: Get event by round numberget_event_by_name(name: str, strict_search: bool = False) -> Event | None: Get event by nameget_event(identifier: int | str, strict_search: bool = False) -> Event | None: Get event by round or name
Examples
Get All Events for a Season
Iterate Through Events
Get Specific Event
Filter to Championship Rounds Only
Access Session Schedule
Check Sprint Weekends
Working with Event Objects
Related Functions
get_event_schedule(year, include_testing=True)- Get schedule with testing controlget_event(year, gp)- Get a specific event directlyget_event_by_round(year, round_number)- Get event by round numberget_event_by_name(year, name, exact_match=False)- Get event by name
Notes
- Events are ordered by round number for championship races, then by date for testing
- Testing events have
RoundNumber = 0 - Fuzzy matching is used by default when looking up events by name
- Event schedule data is cached and loaded from vendored schedules or CDN
- Sprint weekend formats have different session structures (Sprint Shootout/Sprint Qualifying + Sprint)
See Also
- get_session - Get a specific session
- get_sessions - Get sessions for an event