An open API service indexing awesome lists of open source software.

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

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)