apisports_football
It's a handy API wrapper that makes it easy to work with https://www.api-football.com/.
Official documentation: https://www.api-football.com/documentation-v3
Installing
- With git
git clone https://github.com/h3ave/apisports_football
cd apisports_football
pip install -r requirements.txt
- With pip
pip install apisports-football
Dependencies
- Python >= 3.7
- aiohttp
- pydantic
- typing-extensions
Getting API Key
Register on API-Sports.
Go to profile and copy key from API-Key field.
Usage example
import asyncio
from apisports_football import Wrapper
api = Wrapper('TOKEN_HERE')
async def main() -> None:
data = await api.leagues().get(
country = 'Spain',
season = 2024
)
print(data)
if __name__ == '__main__':
asyncio.run(main())
Metadata
Release files for apisports-football 1.0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| apisports_football-1.0.4.1.tar.gz | 17.3 kB | Without provenance | Details for apisports_football-1.0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apisports_football-1.0.4.1-py3-none-any.whl | Python 3 | none | any | Details for apisports_football-1.0.4.1-py3-none-any.whl |
Total release size: 51.0 kB
Release files / apisports_football-1.0.4.1.tar.gz
| Download URL | apisports_football-1.0.4.1.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38b49645efde21a2bda9237257d3fdf4c3f3560eb42fb0e23c0417b0310a7c84
|
|
BLAKE2b-256 checksum How to use checksums |
bd861a684f26b7abcef98d1f644a8476fee32e5627dda1d8c75ff49847b708a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / apisports_football-1.0.4.1-py3-none-any.whl
| Download URL | apisports_football-1.0.4.1-py3-none-any.whl |
|---|---|
| Size | 33.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b43ea37b02159f26f75943b2a8f28fa10af448d3ccfe27d064978540c6e7e71
|
|
BLAKE2b-256 checksum How to use checksums |
badcd21a7d916f55c469bdd382b39a4977accd0e023799cc7f99e9b28ff6c3fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for apisports-football 1.0.4.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.