Unofficial Async Client for MAX Messenger (OneMe)
Project description
🎌 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.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file madmax-0.0.3.tar.gz.
File metadata
- Download URL: madmax-0.0.3.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0258b441587e238c6e62d26e8a186ec51b7bd9dfd14bc26c509094d8cd4d01b
|
|
| MD5 |
35ff9f4e51727b0d83191c95c6e1ce77
|
|
| BLAKE2b-256 |
25e47154ccfa51a94363944fc519d3d28111479fcb8bf577465ad00ecaa889da
|
File details
Details for the file madmax-0.0.3-py3-none-any.whl.
File metadata
- Download URL: madmax-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f848146b56abcc7589a2a9ef26d92461fbb6055229b3190b628c179547001a3
|
|
| MD5 |
588bf62a57148cc8f11324c725f64fc6
|
|
| BLAKE2b-256 |
ca91702d7570a803ed71c69c9b4bd5a1ba7ae352b340b7caf9f57ed0fc7860e7
|