Name | apisports-football JSON |
Version |
1.0.4.1
JSON |
| download |
home_page | None |
Summary | Asynchronous wrapper for football API from API-SPORTS |
upload_time | 2024-10-29 19:43:07 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | MIT License Copyright (c) 2024 h3ave Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
football
api
wrapper
apisports
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# apisports_football
[![PyPI version](https://img.shields.io/pypi/v/apisports-football)](https://pypi.org/project/apisports-football)
[![python](https://img.shields.io/pypi/pyversions/apisports-football)](https://pypi.org/project/apisports-football)
[Russian version](https://github.com/h3ave/apisports_football/blob/main/README.ru.md)
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
```
* With pip
```console
pip install apisports-football
```
### Dependencies
* Python >= 3.7
* aiohttp
* pydantic
* typing-extensions
### Getting API Key
[Register](https://dashboard.api-football.com/register) on API-Sports.
Go to [profile](https://dashboard.api-football.com/profile?access) and copy key from API-Key field.
### Usage example
```python
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())
```
Raw data
{
"_id": null,
"home_page": null,
"name": "apisports-football",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "football, api, wrapper, apisports",
"author": null,
"author_email": "h3ave <noth3ave@yandex.ru>",
"download_url": "https://files.pythonhosted.org/packages/bd/86/1a684f26b7abcef98d1f644a8476fee32e5627dda1d8c75ff49847b708a1/apisports_football-1.0.4.1.tar.gz",
"platform": null,
"description": "# apisports_football\n\n[![PyPI version](https://img.shields.io/pypi/v/apisports-football)](https://pypi.org/project/apisports-football)\n[![python](https://img.shields.io/pypi/pyversions/apisports-football)](https://pypi.org/project/apisports-football)\n\n[Russian version](https://github.com/h3ave/apisports_football/blob/main/README.ru.md)\n\nIt's a handy API wrapper that makes it easy to work with <https://www.api-football.com/>.\n\nOfficial documentation: <https://www.api-football.com/documentation-v3>\n\n## Installing\n\n* With git\n\n```console\ngit clone https://github.com/h3ave/apisports_football\ncd apisports_football\npip install -r requirements.txt\n```\n\n* With pip\n\n```console\npip install apisports-football\n```\n\n### Dependencies\n\n* Python >= 3.7\n* aiohttp\n* pydantic\n* typing-extensions\n\n### Getting API Key\n\n[Register](https://dashboard.api-football.com/register) on API-Sports.\n\nGo to [profile](https://dashboard.api-football.com/profile?access) and copy key from API-Key field.\n\n### Usage example\n\n```python\nimport asyncio\nfrom apisports_football import Wrapper\n\napi = Wrapper('TOKEN_HERE')\n\nasync def main() -> None:\n data = await api.leagues().get(\n country = 'Spain',\n season = 2024\n )\n print(data)\n\nif __name__ == '__main__':\n asyncio.run(main())\n```\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 h3ave Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "Asynchronous wrapper for football API from API-SPORTS",
"version": "1.0.4.1",
"project_urls": {
"Changelog": "https://github.com/h3ave/apisports_football/blob/main/CHANGELOG.md",
"Repository": "https://github.com/h3ave/apisports_football"
},
"split_keywords": [
"football",
" api",
" wrapper",
" apisports"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "badcd21a7d916f55c469bdd382b39a4977accd0e023799cc7f99e9b28ff6c3fa",
"md5": "e8e44a5605fd88805af1b5f17d2a0a39",
"sha256": "8b43ea37b02159f26f75943b2a8f28fa10af448d3ccfe27d064978540c6e7e71"
},
"downloads": -1,
"filename": "apisports_football-1.0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e8e44a5605fd88805af1b5f17d2a0a39",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 33663,
"upload_time": "2024-10-29T19:43:05",
"upload_time_iso_8601": "2024-10-29T19:43:05.793560Z",
"url": "https://files.pythonhosted.org/packages/ba/dc/d21a7d916f55c469bdd382b39a4977accd0e023799cc7f99e9b28ff6c3fa/apisports_football-1.0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bd861a684f26b7abcef98d1f644a8476fee32e5627dda1d8c75ff49847b708a1",
"md5": "e1fd5d8f8b23d4af6878092994530550",
"sha256": "38b49645efde21a2bda9237257d3fdf4c3f3560eb42fb0e23c0417b0310a7c84"
},
"downloads": -1,
"filename": "apisports_football-1.0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "e1fd5d8f8b23d4af6878092994530550",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 17325,
"upload_time": "2024-10-29T19:43:07",
"upload_time_iso_8601": "2024-10-29T19:43:07.360767Z",
"url": "https://files.pythonhosted.org/packages/bd/86/1a684f26b7abcef98d1f644a8476fee32e5627dda1d8c75ff49847b708a1/apisports_football-1.0.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-29 19:43:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "h3ave",
"github_project": "apisports_football",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "apisports-football"
}