Skip to main content

A package to retrieve stats from

Project description

#UFCStats: A Python API for fighers stats on

ufcstats provides a simple api to retrieve stats from figherse pages on


This package requires beautifulsoup4 and urllib3

##Installation Use pip to install the package from PyPi:

pip install ufcstats

##Usage Import the package and retrieve stats for a certain fighter:

import ufcstats
stats = ufcstats.getStats("Jon Jones")
    "Name": "Jon Jones",
    "Nick": "Bones",
    "Height:": "6' 4\"",
    "Weight:": "205 lbs.",
    "Reach:": "84\"",
    "STANCE:": "Orthodox",
    "DOB:": "Jul 19, 1987",
    "SLpM:": "4.48",
    "Str. Acc.:": "57%",
    "SApM:": "2.05",
    "Str. Def:": "64%",
    "TD Avg.:": "2.07",
    "TD Acc.:": "47%",
    "TD Def.:": "95%",
    "Sub. Avg.:": "0.5"

Project details

Download files

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

Files for ufcstats, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ufcstats-0.0.1-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ufcstats-0.0.1.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page