Skip to main content

A fast and easy way to access the UFC roster

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ufcpy-3.0.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

ufcpy-3.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file ufcpy-3.0.0.tar.gz.

File metadata

  • Download URL: ufcpy-3.0.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for ufcpy-3.0.0.tar.gz
Algorithm Hash digest
SHA256 54f18260ae1fdc0abc770dd51c4343e5c8304be7b35ec0f290d4af1025b7f588
MD5 4d228edf04dac4e2b3f72bf58b9d0942
BLAKE2b-256 677ac0a844fb0255aa7bf0013b3d17dcc93bc8c6146f5ae8ed586f212105b8e3

See more details on using hashes here.

File details

Details for the file ufcpy-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: ufcpy-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for ufcpy-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 699bd68285743a1a27f97f5283e01cbb431cf6a40f2bdedb360936595bdb31ae
MD5 c17293a7e6166a94ff899fc7839bea0f
BLAKE2b-256 8521488f7a710b6d876ab3bda8f128f1579edb2cfa9e62d78b0db8bf4ae65cf1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page