📅  最后修改于: 2023-12-03 14:38:59.683000             🧑  作者: Mango
_Rocketcore is an open-source package for Python that provides a simple, intuitive interface to work with the Rocket.chat API. This package allows developers to easily interact with Rocket.chat in their Python applications.
To install, simply run:
pip install _rocketcore
_Rocketcore integrates with the Rocket.chat API to provide a Python interface to the API. Once installed, you can use _Rocketcore in the following way:
from _rocketcore import RocketChatAPI
# Instantiate the API object
api = RocketChatAPI('https://my-rocket-chat-instance.com', 'my-username', 'my-password')
# Send a message to a channel
api.send_message('test-channel', 'Hello World!')
# Get a list of channels
channels = api.get_channels()
for channel in channels:
print(channel['name'])
For full documentation on how to use _Rocketcore, visit the documentation website.
Contributions to _Rocketcore are welcome! If you find a bug or want to add a new feature, please submit an issue or pull request.
_Rocketcore is licensed under the MIT License.