Experienced the same yesterday, works now. I guess it goes down when everyone is spamming the api.
i only have 'schedule â missing data, that the current state or is it me?
Guys, please read this thread before asking questions
Hi, Marco.
Itâs not just historical data. I tried some calls and the data is updated to this Bahrain GP, ââit seems to be very good.
There are also updated results after 24 hours of the free practice sessions, the only GET calls that donât seem to work well are those with âlatestâ id while those with explicit id work.
Which urls did you try?
The documentation only gives me unusable urls
For example this is last session https://api.openf1.org/v1/sessions?session_key=latest
Ps:
They fix âlatestâ now it work.
They provides driver positions throughout a session, including initial placement and subsequent changesâŚthis is Charles in race session:
https://api.openf1.org/v1/position?session_key=latest&driver_number=16
The same result you can get it in CSV format by adding &csv=true
Example:
https://api.openf1.org/v1/position?session_key=latest&driver_number=16&csv=true
Yeah thats what I said, historical data
Its not giving me future events so its useless unfortunately
Youâve right, but read this OpenF1 API | Real-time and historical Formula 1 data
There are great hopes!
Short term (early 2024)
- Add data from previous seasons (2018-2022)
- Race and championship standings, schedules, and starting grids.
Someone even asked this and the answer was good!
Indeed! Lets hope its before the next race
We hope! Meantime the schedule, next race and countdown are still not working in Formula One cardâŚ
Next race is working for me, since today.
Also the countdown is kind of working. all events (training, quali, race) happen at the same time
Is this for showing? Because if not, you can combine the countdown cards
How do I combine them? If I check the checkboxes for the practices etc. and save it, it doesnât save the state of them
That is my problem exact.
I donât know how to do that in the editor
I now have this:
- type: vertical-stack
cards:- type: custom:formulaone-card
card_type: countdown
title: training 1 - type: custom:formulaone-card
card_type: countdown
title: Training 2 - type: custom:formulaone-card
card_type: countdown
title: Training 3 - type: custom:formulaone-card
card_type: countdown
title: Kwalificatie - type: custom:formulaone-card
card_type: countdown
title: De race
- type: custom:formulaone-card
Use
countdown_type: race,qualifying,practice1,practice2,practice3,sprint
Donât forget the translations for the events
thanks, that helped a lot
I canât get them all in 1 card, but now my 5 cards give the right countdown time
Like this
- type: custom:formulaone-card
card_type: countdown
countdown_type: race,qualifying,practice1,practice2,practice3,sprint
show_raceinfo: true
f1_font: true
If you want keep split cards i suggest you this:
* type: vertical-stack
cards:
* type: custom:formulaone-card
card_type: countdown
title: training 1
countdown_type: practice1
* type: custom:formulaone-card
card_type: countdown
title: Training 2
countdown_type: practice2
* type: custom:formulaone-card
card_type: countdown
title: Training 3
countdown_type: practice3
* type: custom:formulaone-card
card_type: countdown
title: Kwalificatie
countdown_type: qualifying
* type: custom:formulaone-card
card_type: countdown
title: Sprint
countdown_type: sprint
* type: custom:formulaone-card
card_type: countdown
countdown_type: race
title: De race
If you want just one card this is my config (of course free feel to change translations :
- type: custom:formulaone-card
card_type: countdown
f1_font: true
title: Prossima Sessione
countdown_type: practice1,practice2,practice3,qualifying,sprint,race
translations:
practice1: FP1
practice2: FP2
practice3: FP3
sprint: Sprint
qualifying: Qualifiche
racetime: GP
endofseason: Stagione Finita!
days: g
until: a
@marcokreeft87 I donât know why but in the Race countdown the translation isnât shown, even if you remove it it doesnât show âto raceâ.
Edit: By declaring them like this the translation works, but not yet for the race
countdown_type:
- practice1
- practice2
- practice3
- qualifying
- sprint
- race
There seems to be a bug in that. Try race for translation key