📜  _rocketcore pypi - Python (1)

📅  最后修改于: 2023-12-03 14:38:59.683000             🧑  作者: Mango

_rocketcore pypi - Python

_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.

Installation

To install, simply run:

pip install _rocketcore
Usage

_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'])
Features
  • Secure authentication via username and password
  • Easy-to-use API interface for common Rocket.chat features
  • Comprehensive documentation that explains how to use each feature
  • Supports both Python 2 and Python 3
Documentation

For full documentation on how to use _Rocketcore, visit the documentation website.

Contributions

Contributions to _Rocketcore are welcome! If you find a bug or want to add a new feature, please submit an issue or pull request.

License

_Rocketcore is licensed under the MIT License.