Metadata-Version: 2.1
Name: apisports_football
Version: 1.0.1
Summary: Asynchronous wrapper for football API from API-SPORTS
Home-page: https://github.com/h3ave/apisports_football
Author: h3ave
Author-email: noth3ave@yandex.ru
Project-URL: Documentation, https://github.com/h3ave/apisports_football/blob/main/README.md
Keywords: football api wrapper apisports
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# apisports_football
<a href="https://github.com/h3ave/apisports_football/blob/main/README.ru.md">Russian version</a>

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
```console
git clone https://github.com/h3ave/apisports_football
cd apisports_football
pip install -r requirements.txt
```

### Dependencies
* Python >= 3.7
* aiohttp
* pydantic
* typing-extensions

### Getting API Key
<a href="https://dashboard.api-football.com/register">Register</a> on API-Sports.

Go to <a href="https://dashboard.api-football.com/profile?access">profile</a> and copy key from API-Key field.

### Usage example
```python
import asyncio
from apisports_football.wrapper import Wrapper

api = Wrapper('TOKEN_HERE')

async def main() -> None:
    data = await api.leagues().leagues(
        country = 'Spain',
        season = 2024
    )
    print(data)

if __name__ == '__main__':
    asyncio.run(main())
```
