# UFCPY
![Discord](https://img.shields.io/discord/797127174141378571?label=SERVER&logo=discord&logoColor=white&style=for-the-badge)<br>
![GitHub forks](https://img.shields.io/github/forks/YoungTrep/ufcpy?color=color&logo=github&style=for-the-badge)<br>
![GitHub Repo stars](https://img.shields.io/github/stars/YoungTrep/ufcpy?color=lime%20green&logo=github&style=for-the-badge)
UFCpy is a Python wrapper to get access to the UFC fighter roster.
## Installation
Use the package manager [pip](https://pypi.org) to install ufcpy.
```bash
pip install ufcpy
```
## Usage
```python
from ufcpy import find_fighter_by_fullname
fighter = find_fighter_by_fullname('Jon Jones')
# returns 'Bones'
fighter.nickname
# returns 'Rochester, United States'
fighter.hometown
```
```python
from ufcpy import Champion
Champions = Champion()
# returns heavyweight champion
Champions.heavyweight
```
## License
[MIT](https://choosealicense.com/licenses/mit/)
Raw data
{
"_id": null,
"home_page": "https://github.com/YoungTrep/ufcpy",
"name": "ufcpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "ufc, mma, mixed martial arts, fighting, fighters, ufc-api, mma-api",
"author": "youngtrep",
"author_email": "youngtrep.business@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/67/7a/c0a844fb0255aa7bf0013b3d17dcc93bc8c6146f5ae8ed586f212105b8e3/ufcpy-3.0.0.tar.gz",
"platform": null,
"description": "# UFCPY\r\n\r\n![Discord](https://img.shields.io/discord/797127174141378571?label=SERVER&logo=discord&logoColor=white&style=for-the-badge)<br>\r\n![GitHub forks](https://img.shields.io/github/forks/YoungTrep/ufcpy?color=color&logo=github&style=for-the-badge)<br>\r\n![GitHub Repo stars](https://img.shields.io/github/stars/YoungTrep/ufcpy?color=lime%20green&logo=github&style=for-the-badge)\r\n\r\nUFCpy is a Python wrapper to get access to the UFC fighter roster.\r\n\r\n## Installation\r\n\r\nUse the package manager [pip](https://pypi.org) to install ufcpy.\r\n\r\n```bash\r\npip install ufcpy\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\nfrom ufcpy import find_fighter_by_fullname\r\n\r\nfighter = find_fighter_by_fullname('Jon Jones')\r\n\r\n# returns 'Bones'\r\nfighter.nickname\r\n\r\n# returns 'Rochester, United States'\r\nfighter.hometown\r\n```\r\n\r\n```python\r\nfrom ufcpy import Champion\r\n\r\nChampions = Champion()\r\n\r\n# returns heavyweight champion\r\nChampions.heavyweight\r\n```\r\n\r\n## License\r\n\r\n[MIT](https://choosealicense.com/licenses/mit/)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A fast and easy way to access the UFC roster",
"version": "3.0.0",
"project_urls": {
"Homepage": "https://github.com/YoungTrep/ufcpy"
},
"split_keywords": [
"ufc",
" mma",
" mixed martial arts",
" fighting",
" fighters",
" ufc-api",
" mma-api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8521488f7a710b6d876ab3bda8f128f1579edb2cfa9e62d78b0db8bf4ae65cf1",
"md5": "c17293a7e6166a94ff899fc7839bea0f",
"sha256": "699bd68285743a1a27f97f5283e01cbb431cf6a40f2bdedb360936595bdb31ae"
},
"downloads": -1,
"filename": "ufcpy-3.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c17293a7e6166a94ff899fc7839bea0f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6386,
"upload_time": "2024-11-20T21:52:29",
"upload_time_iso_8601": "2024-11-20T21:52:29.787407Z",
"url": "https://files.pythonhosted.org/packages/85/21/488f7a710b6d876ab3bda8f128f1579edb2cfa9e62d78b0db8bf4ae65cf1/ufcpy-3.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "677ac0a844fb0255aa7bf0013b3d17dcc93bc8c6146f5ae8ed586f212105b8e3",
"md5": "4d228edf04dac4e2b3f72bf58b9d0942",
"sha256": "54f18260ae1fdc0abc770dd51c4343e5c8304be7b35ec0f290d4af1025b7f588"
},
"downloads": -1,
"filename": "ufcpy-3.0.0.tar.gz",
"has_sig": false,
"md5_digest": "4d228edf04dac4e2b3f72bf58b9d0942",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6482,
"upload_time": "2024-11-20T21:52:30",
"upload_time_iso_8601": "2024-11-20T21:52:30.720437Z",
"url": "https://files.pythonhosted.org/packages/67/7a/c0a844fb0255aa7bf0013b3d17dcc93bc8c6146f5ae8ed586f212105b8e3/ufcpy-3.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-20 21:52:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "YoungTrep",
"github_project": "ufcpy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "ufcpy"
}