RocketChat API with Python
Project description
#### 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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for rocket_python-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ced18bdbf395118524cc0249fec43feb583db87ce325acd63f5da60afa04d598 |
|
MD5 | 6a11733d158a25abaf533c53e513dc96 |
|
BLAKE2b-256 | 7b6e0efb96c454558bfcd41e2792c99915839fb4b2e432b0809ed93fbcd5aa4a |