🎌 MadMax
Unofficial Async Client for MAX Messenger (OneMe platform)
Developed by CTRLJapan
MadMax is a reverse-engineered Python library for interacting with the Russian national messenger MAX (backend: oneme.ru).
It allows you to receive messages and events via WebSocket without using a browser.
📦 Installation
Since you are cool enough to use the command line:
pip install madmax
🚀 Quick Start
import asyncio
from madmax import Client
# See "How to get credentials" below
TOKEN = "YOUR_TOKEN_HERE"
DEVICE_ID = "YOUR_DEVICE_ID"
client = Client(token=TOKEN, device_id=DEVICE_ID)
@client.event
async def on_message(message):
print(f"[{message.sender_id}] says: {message.text}")
if __name__ == "__main__":
client.run()
🔑 How to get credentials
Since MAX does not have an open API, you need to borrow your own session credentials from the browser.
- Open web.max.ru in Chrome/Edge.
- Log in to your account.
- Open Developer Tools (F12).
- Go to Application tab -> Local Storage -> https://web.max.ru.
- Find and copy values for:
__oneme_auth-> This is your TOKEN.__oneme_device_id-> This is your DEVICE_ID.
Warning: Do not share your token with anyone. It gives full access to your account.
⚠️ Disclaimer
This project is for educational purposes only.
- This is not an official client.
- Using self-bots might violate the Terms of Service of the platform.
- The author (CTRLJapan) is not responsible for any bans or limitations applied to your account.
Metadata
Release files for madmax 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| madmax-0.0.3.tar.gz | 5.7 kB | Without provenance | Details for madmax-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| madmax-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for madmax-0.0.3-py3-none-any.whl |
Total release size: 13.4 kB
Release files / madmax-0.0.3.tar.gz
| Download URL | madmax-0.0.3.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0258b441587e238c6e62d26e8a186ec51b7bd9dfd14bc26c509094d8cd4d01b
|
|
BLAKE2b-256 checksum How to use checksums |
25e47154ccfa51a94363944fc519d3d28111479fcb8bf577465ad00ecaa889da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Release files / madmax-0.0.3-py3-none-any.whl
| Download URL | madmax-0.0.3-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f848146b56abcc7589a2a9ef26d92461fbb6055229b3190b628c179547001a3
|
|
BLAKE2b-256 checksum How to use checksums |
ca91702d7570a803ed71c69c9b4bd5a1ba7ae352b340b7caf9f57ed0fc7860e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Security for madmax 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.