marcokreeft87 / formulaone-card

Present the data of Formula One in a pretty way
MIT License
134 stars 10 forks source link

Ergast API depreciation #299

Open guyke01 opened 9 months ago

guyke01 commented 9 months ago

Describe the bug Ergast API noticing depreciation at the end of this year. The API will be shutdown.

afbeelding

marcokreeft87 commented 9 months ago

Ah good call! We got one year left ( end of 2024 is next year :P ). I need to find a alternative :(

guyke01 commented 9 months ago

Ah next year :D well who knows what happens in one year. Hope there is a good alternative :)

marcokreeft87 commented 9 months ago

Yes! If you stumble across one, please let me know!

marcokreeft87 commented 9 months ago

For the schedule I can use the f1 calendar. So that isn't a problem, but the results, that will be an issue

Valdorama commented 9 months ago

Could the ESPN APIs be used as an eventual replacement? They're used for the TeamTracker integration.

There is a thread that discusses ESPN APIs for various sports and includes some info on the F1 API: https://gist.github.com/akeaswaran/b48b02f1c94f873c6655e7129910fc3b?permalink_comment_id=4538694#gistcomment-4538694

pinkywafer commented 8 months ago

It may be worth reaching out to pitwall.app to see if they have an accessible API

pinkywafer commented 8 months ago

Alternatively, you may be able to pull the data directly from https://github.com/onlyf1com/onlyf1-db

marcokreeft87 commented 8 months ago

Alternatively, you may be able to pull the data directly from https://github.com/onlyf1com/onlyf1-db

Yes, but than I need to host a service to provide the data to the cards. I'm not going to pay for that :p

mupsje commented 5 months ago

image So you cant get the data then? Maybe a docker solution for HA? I'm just thinking ....

Santanachia commented 5 months ago

The next race is in just 5 days. Is there a chance that this beautiful card will come back to life, or is there no more hope though?

willsmarthome commented 5 months ago

Is this maybe an option? https://openf1.org/

marcokreeft87 commented 5 months ago

Seems to be only historical

eclyptox commented 5 months ago

What about hosting json in a github project. And update it by crawling f1 official webpage? There are already some projects doing this. Maybe in a github action to update data.

marcokreeft87 commented 5 months ago

Yes that's one of the options, but I don't have the time to maintain that. So if it fails there will be a lot of sad f1 fans.

So that's a last resort basically

Valdorama commented 5 months ago

Is the ESPN F1 data feed of any use?: https://site.api.espn.com/apis/site/v2/sports/racing/f1/scoreboard

marcokreeft87 commented 5 months ago

Is the ESPN F1 data feed of any use?: https://site.api.espn.com/apis/site/v2/sports/racing/f1/scoreboard

Nope already checked that one

emilianogetino commented 5 months ago

I hope that your integration will be returned soon, it was very useful to me last season, cheer up, we look forward to seeing you again. Greetings and thank you very much for your work.

canedje commented 5 months ago

yes please, get it alive again!

marcokreeft87 commented 5 months ago

The countdown card works for at least this weekend's race

acla6525 commented 5 months ago

I think the API just needs to update each of the /current web hooks, once this happens and /current is transitioned to 2024 I would imagine they would all switch.

Current for standings is still showing 2023 https://ergast.com/api/f1/current/driverStandings

From: Marco Kreeft @.> Sent: Wednesday, 28 February 2024 08:27 To: marcokreeft87/formulaone-card @.> Cc: Subscribed @.***> Subject: Re: [marcokreeft87/formulaone-card] Ergast API depreciation (Issue #299)

The countdown card works for at least this weekend's race

- Reply to this email directly, view it on GitHubhttps://github.com/marcokreeft87/formulaone-card/issues/299#issuecomment-1967620338, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUH7KW3QCYOYIIB74NPYD3YVZFTLAVCNFSM6AAAAAA5VKG3UKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRXGYZDAMZTHA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

marcokreeft87 commented 5 months ago

I think the API just needs to update each of the /current web hooks, once this happens and /current is transitioned to 2024 I would imagine they would all switch.

Current for standings is still showing 2023 https://ergast.com/api/f1/current/driverStandings

From: Marco Kreeft @.> Sent: Wednesday, 28 February 2024 08:27 To: marcokreeft87/formulaone-card @.> Cc: Subscribed @.***> Subject: Re: [marcokreeft87/formulaone-card] Ergast API depreciation (Issue #299)

The countdown card works for at least this weekend's race

- Reply to this email directly, view it on GitHubhttps://github.com/marcokreeft87/formulaone-card/issues/299#issuecomment-1967620338, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALUH7KW3QCYOYIIB74NPYD3YVZFTLAVCNFSM6AAAAAA5VKG3UKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRXGYZDAMZTHA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

Yes exactly

bkbartk commented 5 months ago

btw about the openf1 roadmap https://openf1.org/#roadmap image if they are planning to introduce that short term, then this is way before ergast stops and there will be time to migrate

mdmanl commented 5 months ago

Works on the desktop but on the companion app it still says "Season is over" for me

Santanachia commented 5 months ago

works fine for me on PC and on android app

kirsty99999 commented 4 months ago

Many thanks for updating the countdown @marcokreeft87 . The 'countdown' and 'next race' are both working for me now for 2024. I am hoping the schedule will be possible too. Thanks for your work on this. It is appreciated! Warm regards, Kirsty.

kirsty99999 commented 4 months ago

Just to add - working for me on PC and app on ios (iphone 12 and very ancient ipad)

mattbladen commented 4 months ago

I made some F1 widgets with https://dashboard.api-football.com/subscription/formula

Maybe start a patreon to cover the costs?

marcokreeft87 commented 4 months ago

Yeah maybe. But I wanna keep it free. But if there is not other option..

vinnie4v2 commented 3 months ago

Yeah maybe. But I wanna keep it free. But if there is not other option..

Maybe you can make a free version thats "hard to install/manual" And a premium thats easy to install and has premium customizing features orsomething that covers the cost

KaptianCore commented 3 months ago

fastf1 is good and they are going to take over the ergast role when it becomes deprecated.

marcokreeft87 commented 3 months ago

fastf1 is good and they are going to take over the ergast role when it becomes deprecated.

Ah thnx for the headsup, I hope the details will be available soon so I can change the source of the data displayed in the card

JRascagneres commented 3 weeks ago

Unsure if its just flaky but ergast is failing to load entirely right now...

marcokreeft87 commented 2 weeks ago

Unsure if its just flaky but ergast is failing to load entirely right now...

I think you are right unfortunately