Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 951 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 951 Bytes

UFCPY

Discord
GitHub forks
GitHub Repo stars

UFCpy is a Python wrapper to get access to the UFC fighter roster.

Installation

Use the package manager pip to install ufcpy.

pip install ufcpy

Usage

from ufcpy import find_fighter_by_fullname

fighter = find_fighter_by_fullname('Jon Jones')

# returns 'Bones'
fighter.nickname

# returns 'Rochester, United States'
fighter.hometown
from ufcpy import Champion

Champions = Champion()

# returns heavyweight champion
Champions.heavyweight

License

MIT