Open K1K1K1Zhang opened 9 months ago
Hi,
That competition isn't available via the public open data I'm afraid.
You can try a different combination e.g. sb.matches(competition_id=9, season_id=27)
which should be available. You can view the competitions available from the open-data here or via sb.competitions()
.
We're going to add something to make this more explicit for future reference.
Thanks.
Contact Details
No response
Version
1.0.1
What platform are you seeing the problem on?
Windows
What Python version are you running, are you using a virtual environment? Give us as much info as you can.
Python 3.11
What happened?
After installing the 'statsbombpy' package, I successfully loaded the data of competitions just as you showed. However, when looking for data in matches and lineups, I came across with this error:
Is the link invaild?
Relevant log output
Code to reproduce issue
No response
Attempted solutions
No response