A client library for the football-data.org REST API
pyfootball is a client library for football-data.org written in Python.
You can familiarize yourself with pyfootball’s API with the documentation.
- A valid API key for football-data. You can request for one at http://api.football-data.org/register.
- Python 3.5+
- The requests library. pip should handle this for you when installing pyfootball.
pip install pyfootball
>>> import pyfootball >>> f = pyfootball.Football(api_key='your_api_key') >>> bayern = f.get_team(5) >>> bayern.market_value 582,225,000 €
Please see the repository’s CONTRIBUTING file.
The project is licensed under the MIT license.