Closed Diadochokinetic closed 1 month ago
It appears that some seasons are incomplete.
import urllib.request import json league = "bl3" year = 2022 match_day = 5 contents = urllib.request.urlopen( f"http://www.openligadb.de/api/getmatchdata/{league}/{year}/{match_day}" ).read() data = json.loads(contents) data
yields an empty list.
Incomplete seasons should be excluded, since they don't provide useful performance statistics.
Fixed with https://github.com/Diadochokinetic/AK-Tippspiel/commit/4c093bed4721bc5bb669b89ec7fa84b7837849e0
It appears that some seasons are incomplete.
yields an empty list.
Incomplete seasons should be excluded, since they don't provide useful performance statistics.