skillfed

rocketchat-API

Python API wrapper for Rocket.Chat

rocketchat-api v3.7.1 471.7K downloads/30d#6,477 on PyPI293
Permissive license MIT Active released

What it is and what it does

rocketchat_API is a Python wrapper around the Rocket.Chat REST API that abstracts HTTP calls into Python method calls. It handles authentication (both credential-based and token-based), message posting, channel management, user queries, and other chat operations through a simple object-oriented interface.

The library is designed for developers who need to automate Rocket.Chat workflows, build bots, or integrate Rocket.Chat into larger Python applications. It wraps the underlying HTTP requests library and handles the details of constructing API calls, managing authentication tokens, and parsing responses. The package is actively maintained and tested against multiple Python and Rocket.Chat versions.

Use it for:

  • Build a bot that monitors channels and posts automated responses or notifications.
  • Integrate Rocket.Chat messaging into a Python application for team notifications.
  • Automate channel and user management tasks programmatically.
  • Fetch chat history or user data for reporting or analytics.
  • Create a bridge between Rocket.Chat and external systems or workflows.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python wrapper for the Rocket.Chat REST API, enabling programmatic access to chat, channels, users, and messaging features.

Yes. The package has low install friction, active maintenance (released 6 days ago), no known vulnerabilities, permissive MIT licensing, and a straightforward API surface. It is suitable for any Python project that needs to interact with a Rocket.Chat instance. The only prerequisite is Python 3.10+ and access to a Rocket.Chat server.

Install

rocketchat-api on PyPI

pip

pip install rocketchat-api

uv

uv add rocketchat-api

poetry

poetry add rocketchat-api

Installing rocketchat-API

Before you install

Low install friction with only two runtime dependencies (requests and packaging). Active maintenance with a release 6 days ago and continuous testing against supported Python and Rocket.Chat versions.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it safe for most projects.

Quickstart

pip install rocketchat_API

from rocketchat_API.rocketchat import RocketChat

rocket = RocketChat('user', 'pass', server_url='https://demo.rocket.chat')
rocket.chat_post_message('hello', channel='GENERAL')

Requires Python 3.10 or higher and a running Rocket.Chat server instance.

Verify before relying

  • Whether the library supports all current Rocket.Chat API endpoints or only a subset.
  • Performance characteristics when handling large message volumes or channel lists.
  • Whether async/await support is available for concurrent operations.

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — requests, packaging
Maintenance actively maintained — 6 days since the last release
Last repo commit
First released
Downloads 471,666/month — #6,477 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: rocketchat_api-3.7.1-py3-none-any.whl

Keywords: rocketchat, api, wrapper, rest

Tags

rocket.chat api clientrocket.chat python wrapperrocket.chat rest apichat automation pythonrocket.chat messaging sdkrocket.chat bot integrationrocket.chat api library
chat-apirest-clientautomation

More WWW/HTTP packages