https://github.com/ehamiter/pyufc
A Python wrapper for API access to the UFC fighter roster
https://github.com/ehamiter/pyufc
Last synced: 9 months ago
JSON representation
A Python wrapper for API access to the UFC fighter roster
- Host: GitHub
- URL: https://github.com/ehamiter/pyufc
- Owner: ehamiter
- License: mit
- Created: 2016-01-31T02:04:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-02-24T16:41:28.000Z (over 5 years ago)
- Last Synced: 2024-12-15T06:38:19.574Z (over 1 year ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
*****
The ufc website changed their layout so this package unfortunately no longer works.
*****
*****
This repo is only for historical purposes.
*****
pyufc
#####
A Python wrapper for API access to the UFC fighter roster
*Inspired by https://github.com/valish/ufc-api*
.. image:: https://img.shields.io/pypi/v/pyufc.svg
:target: https://pypi.python.org/pypi/pyufc
:alt: Latest PyPI version
Installation::
pip install pyufc
Usage::
In [1]: from pyufc import Fighter
In [2]: f = Fighter()
In [3]: f.get_fighter("randy couture")
In [4]: f.summary
Out[4]: u'World class wrestler, great clinch'
In [5]: f.record
Out[5]: u'19-11-0'
In [6]: f.twitter_url
Out[6]: u'http://twitter.com/Randy_Couture'