Open TK5-Tim opened 1 month ago
I had a quick look and the smaller leagues seem to contain a subset of the data (with different column headers) of the bigger leagues. This means that it should be possible to merge them. Basically, you would have to update the MatchHistory.read_games method to check whether the requested league is a smaller league and if so
I do not have plans to implement this myself, but if anyone would be interested in taking a stab at it, I would be happy to review it.
Thanks a lot for the breakdown. I'm hoping to find the time to take a stab at this.
After adding the Swiss first league to the package as a custom league dictionary. I tried to pull the Match history. I noticed an issue with the seasons argument in the MatchHistory instance. For smaller league like the Swiss league the whole match history is put into one file. That also means that the URL is different. Instead of the expected URL
https://www.football-data.co.uk/mmz4281/2324/SWZ.csv
The actual URL is:
https://www.football-data.co.uk/new/SWZ.csv
would it make sense to have the possibility to get the different URL or is the data too different anyway?