openfootball / help

help & support incl. frequently asked questions (FAQs) and answers - let's keep all support question in one issue tracker, thanks
5 stars 4 forks source link

Different format for scores #43

Open pel-daniel opened 6 days ago

pel-daniel commented 6 days ago

👋🏽 Thanks for the project! I noticed that the format of scores for the year 2020 is different than for 2024. What's a good way to contribute a PR to fix it, as I see that these files are probably auto-generated from the https://github.com/openfootball/euro repo

geraldb commented 5 days ago

welcome to football.db. good catch. yes, the format is changing. i updated the euro 2020 (2021) json datafiles to the new (score) format. yes, the json files are auto-generated. see here for the quick & dirty script - https://github.com/yorobot/sport.db.more/blob/master/sportdb-exporters/lib/sportdb/exporters/json_exporter_euro.rb