Skip to main content
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.

Metadata

Release files for pyfootball 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfootball 1.0.1
File Size Uploaded Provenance
pyfootball-1.0.1.tar.gz 8.5 kB Without provenance Details

Release files / pyfootball-1.0.1.tar.gz

Download URL pyfootball-1.0.1.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
172d2518b434ee16d0e3c94b3439e543cc6dbee059c1fbda969862ee5ab86804
BLAKE2b-256 checksum
How to use checksums
9a2fad1df4997a7386305ea45fa7c5da6dc3f829f5a808db2d3c24321ae24ce0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyfootball 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page