Skip to content

jaynagpaul/mobcrush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:https://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

Releases

No releases published

Packages

No packages published

Languages