kickcom.py¶
Modern async Python wrapper for the Kick.com API - OAuth 2.1 PKCE, typed models, webhook server with signature verification, and full coverage of chat, channels, livestreams, moderation, and rewards.
Features¶
- Full coverage of the Kick Public API (users, channels, livestreams, categories, chat, moderation, rewards, KICKs, events)
- OAuth 2.1 + PKCE authentication with built-in browser flow and automatic token refresh
- Webhook server with cryptographic signature verification for real-time events
- Fully typed dataclass models for all API responses and webhook payloads
- Optional speed extras (
orjson,aiodns,Brotli) for faster serialization and networking - Async/await powered by aiohttp
Quick Example¶
import asyncio
from kickpy import KickClient
async def main():
client = KickClient("CLIENT_ID", "CLIENT_SECRET")
user = await client.fetch_user(4377088)
print(user.name)
await client.close()
asyncio.run(main())
Next Steps¶
- Getting Started - Install and make your first API call
- Authentication - App tokens, user tokens, and OAuth flow
- API Reference - All client methods, models, enums, and errors
- Webhooks - Set up a webhook server and handle real-time events