statsbombpy uses local open-data.
If you have open-data downloaded locally, you can use it.
pip install statsbombpy-local
Write open-data path to .env or add environment variable: OPEN_DATA_REPO_PATH=your open-data repo path
from statsbombpy_local import sb
Same as statsbombpy
sb.competitions()
sb.matches(competition_id=2, season_id=44)
sb.lineups(match_id=3749068)["Arsenal"]
sb.events(match_id=3749068)
sb.frames(match_id=3788741)
sb.competition_events(country="Europe", division="UEFA Euro", season="2020")
sb.competition_frames(country="Europe", division="UEFA Euro", season="2020")
"player_match_stats", "player_season_stats", "team_season_stats",
have not been changed because they require credentials.