Metadata-Version: 2.0
Name: rocket-python
Version: 0.1
Summary: RocketChat API with Python
Home-page: http://github.com/dstegelman/rocket-python
Author: Derek Stegelman
Author-email: UNKNOWN
License: MIT
Keywords: rocketchat
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: requests (<3.0,==2.0.0)

#### RocketChat API

Python API wrapper for the [Rocket chat API](https://rocket.chat/docs/developer-guides/rest-api/)

#### Usage

Initialize the client with a username and password.  This user *must* have Admin privs::

    from rocketchat.api import RocketChatAPI

    api = RocketChatAPI(settings={'username': 'someuser', 'password': 'somepassword',
                                  'domain': 'https://myrockethchatdomain.com'})


#### Supported Calls

Only a few calls exist within the API, and I am only adding them as they are needed by 
users.  If you need a call, open an issue or send a pull request.

##### Sending a message

You'll first need to get the _id of the room you want to send a message to.  Currently, Rocket
can only send messages to *public* rooms.

    api.send_message('Your message', room_id)



