Rocket.Chat API wrapper using tapioca
Project description
# Tapioca Rocket.Chat
## Installation
```
pip install tapioca-rocketchat
```
## Documentation
``` python
from tapioca_rocketchat import Rocketchat
api = Rocketchat(host='your-host', token='your-token', user_id='your-user-id')
# or api = Rocketchat(host='your-host', username='your-username', password='your-password')
api.version().get()
api.rooms().get()
api.messages(room='room-id').get()
api.join(room='room-id').post()
api.send(room='room-id').post(data={'msg': 'your-message'})
api.leave(room='room-id').post()
api.logoff().post()
```
## Installation
```
pip install tapioca-rocketchat
```
## Documentation
``` python
from tapioca_rocketchat import Rocketchat
api = Rocketchat(host='your-host', token='your-token', user_id='your-user-id')
# or api = Rocketchat(host='your-host', username='your-username', password='your-password')
api.version().get()
api.rooms().get()
api.messages(room='room-id').get()
api.join(room='room-id').post()
api.send(room='room-id').post(data={'msg': 'your-message'})
api.leave(room='room-id').post()
api.logoff().post()
```
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 Distribution
Built Distribution
File details
Details for the file tapioca-rocketchat-0.1.tar.gz
.
File metadata
- Download URL: tapioca-rocketchat-0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d08d93e9c7279f5f4814b38a71d726d664940f2045a43cf8763bc86829797ed4
|
|
MD5 |
423111aa08600bed003ea894028f4f4d
|
|
BLAKE2b-256 |
633ba4e820fa3b0b4cc34dd0fd9468aa87ddbdb96d3923c30f3543f673b67111
|
File details
Details for the file tapioca_rocketchat-0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: tapioca_rocketchat-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
bd93caf0cec47763a71ffc3931019735e5f4f53cf0fb0fc29849d3b10a05b607
|
|
MD5 |
414ac864feb3dc31ad0aa6878f53d44b
|
|
BLAKE2b-256 |
6b98f70e1fa66fa56aba2da0561c9457ed706b1a2e9c867b4ec30cb6396959ab
|