sportmonks is a Python 3.5+ package that implements SportMonks API. While SportMonks (the company) offers data for various sports, this package implements only soccer. There are no plans to implement other sports.
Disclaimer: sportmonks Python package authors are not affiliated with SportMonks the company.
Print today's games:
>>> from sportmonks.soccer import SoccerApiV2
>>> soccer = SoccerApiV2(api_token='My API token')
>>> fixtures = soccer.fixtures_today(includes=('localTeam', 'visitorTeam'))
>>> for f in fixtures:
>>> print(f['localTeam']['name'], 'plays at home against', f['visitorTeam']['name'])
Randers plays at home against FC Helsingør
Celtic plays at home against Aberdeen
Hibernian plays at home against Rangers
Kilmarnock plays at home against Hearts
Silkeborg plays at home against Lyngby
Hobro plays at home against SønderjyskE
OB plays at home against AGF
AaB plays at home against København
Latest released version can be installed with:
pip install sportmonks
Latest development version can be installed with:
git clone https://www.github.com/Dmitrii-I/sportmonks.git
cd sportmonks
pip install ./
Documentation is at http://sportmonks.readthedocs.io.