mobcrush

Python Mobcrush API Wrapper


Keywords
api, minimal, mobcrush, python, requests, wrapper
License
MIT
Install
pip install mobcrush==0.1.0

Documentation

mobcrush

Python Mobcrush API Wrapper

PyPI Documentation Status

Currently has minimal functionality, and should be considered as an Alpha.

Usage

>>> import mobcrush
>>> client = mobcrush.User('USERNAME', 'PASSWORD') # Login to the mobcrush API
>>> client.login()
>>> client.say('ChatroomID', 'This is my cool message!') #Limited functionality
>>> SpiesWithin = mobcrush.streamer('SpiesWithin') # Query a streamer
>>> SpiesWithin.name
SpiesWithin
>>> SpiesWithin.islive
False
>>> SpiesWithin.profilepic
'http://cdn.mobcrush.com/u/profile/556d0e16eab733432e6d6721/116060c5db'
>>> SpiesWithin.lastbroadcast.viewers
22

Documentation

Documentation can be found here.

To build it yourself, do the following:

$ git clone https://github.com/jaynagpaul/mobcrush
$ cd mobcrush
$ cd docs
$ make html

Installation

To install the library you can just run the following command:

python3 -m pip install -U mobcrush

To install the development version, do the following:

$ git clone https://github.com/jaynagpaul/mobcrush
$ cd mobcrush
$ python3 -m pip install -U setup.py

TODO

See main.py