https://github.com/zaunchat/zaun.py
🐍 Python library to interact with Zaun API
https://github.com/zaunchat/zaun.py
Last synced: 12 months ago
JSON representation
🐍 Python library to interact with Zaun API
- Host: GitHub
- URL: https://github.com/zaunchat/zaun.py
- Owner: zaunchat
- Created: 2022-04-16T13:51:04.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-17T18:02:39.000Z (about 3 years ago)
- Last Synced: 2025-04-06T17:11:21.626Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 39.1 KB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zaun.py 🐍
### Usage/ Rest
```py
from zaun import rest
client = rest.SyncREST()
client.set_token("TOKEN")
res = client.get('/users/@me')
print(res)
```
### Usage/ Client
```py
import zaun
client = zaun.Client()
@client.listen
async def on_message(message: zaun.Message) -> None:
print(message.content)
client.login("TOKEN")
```
### Other libs for Zaun
- [zaun.js](https://github.com/itchatapp/zaun.js)