br-g / openf1

OpenF1 API - Real-time and historical Formula 1 data
MIT License
322 stars 15 forks source link

Get session data for sprint qualifying #83

Closed despolov closed 2 months ago

despolov commented 2 months ago

Hello,

Im trying to get the session data for a sprint qualifying, but Im unable to do it. I have tried

but I recieve an empty array. How am I supposed to do this api call?

Thanks!

rich-howell commented 2 months ago

Hello,

Im trying to get the session data for a sprint qualifying, but Im unable to do it. I have tried

but I recieve an empty array. How am I supposed to do this api call?

Thanks!

@despolov You can do it like this

https://api.openf1.org/v1/sessions?country_name=Austria&session_name=Sprint%20Qualifying&year=2024

despolov commented 2 months ago

Thanks a lot!