Skip to content

A Python API wrapper for the football-data.org REST API.

License

Notifications You must be signed in to change notification settings

hanialnahas/pyfootball

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyfootball

Documentation Status Travis CI Status

pyfootball is a client library for football-data.org written in Python.

You can familiarize yourself with pyfootball's API with the documentation.

Requirements

  • 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.

Installation

pip install pyfootball

Example Usage

>>> import pyfootball
>>> f = pyfootball.Football(api_key='your_api_key')
>>> bayern = f.get_team(5)
>>> bayern.market_value
582,225,000 €

Support

If you encounter any bugs, please let me know by creating an issue or tweeting at me @timorthi.

Contributing

Please see the repository's CONTRIBUTING file.

License

The project is licensed under the MIT license.

About

A Python API wrapper for the football-data.org REST API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%