Skip to content

Is there any way to access the 2023 pre-season LT test data in Bahrain?? #315

Answered by McHouse
McHouse asked this question in Q&A
Discussion options

You must be logged in to vote

Doing homework, and doing some research...

ff1.Cache.enable_cache("......")
schedule = ff1.get_event_schedule(2023)
DSchedule = pd.DataFrame(schedule)

''' # Session=ff1.get_testing_session ( Year , TestDay , "Practice 1" )'''
Session=ff1.get_testing_session ( 2023 , 1 , 1 )

Session.load(laps=True, telemetry=True, weather=True, messages=True, livedata=None)
Laps=Session.laps

This seems to work.
To anyone who has been with fastf1 and python for more than a few months, is that correct?
I ask because I still have mess with the methods of version 2.3.0

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@smartbackwards
Comment options

@McHouse
Comment options

@theOehrly
Comment options

@McHouse
Comment options

@Iskathor
Comment options

Answer selected by McHouse
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants