syxolk/euro2024

Updated score?

Closed this issue · 6 comments

is there any chance that the "tools/euro2024/euro2024.json" will be updated with scores?

Hey, thanks for asking. I will not update this particular file but I will fix this endpoint https://github.com/syxolk/euro2024/blob/master/routes/autoupdate_match_result.js which will set the match results automatically.

I'm planning to use this inofficial UEFA API: https://match.uefa.com/v5/matches?competitionId=3&offset=0&limit=51

Thanks for letting me know!

So, how to update match result right now ?

So, how to update match result right now ?

You can set the admin column to true for your own user_account in the database. Then you will be able to access this page:

grafik

I just write it by own using UEFA API here. @CyrilNb check it, if you want to use.
https://github.com/xHeler/euro2024/tree/auto-match-results

@syxolk Check my PR:
#83

Tomorrow I also add auto update teams.

Auto-updating the score works now, thanks to @xHeler !