Skip to main content

A client library for the football-data.org REST API

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfootball-1.0.1.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file pyfootball-1.0.1.tar.gz.

File metadata

  • Download URL: pyfootball-1.0.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyfootball-1.0.1.tar.gz
Algorithm Hash digest
SHA256 172d2518b434ee16d0e3c94b3439e543cc6dbee059c1fbda969862ee5ab86804
MD5 9faf15aa3aef2f9899f7f480ce1ef6e9
BLAKE2b-256 9a2fad1df4997a7386305ea45fa7c5da6dc3f829f5a808db2d3c24321ae24ce0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page