Async library for Kick.com API and webhooks
Project description
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
Installation
pip install kickcom.py
Optional speed extras:
pip install kickcom.py[speed]
Quick Start
import asyncio
from kickpy import KickClient
async def main():
client = KickClient("CLIENT_ID", "CLIENT_SECRET")
user = await client.fetch_user(4377088)
print(user.name)
channel = await client.fetch_channel(slug="kickbot")
print(channel.stream_title)
await client.close()
asyncio.run(main())
Documentation
For full guides and API reference, visit the documentation.
- 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
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 kickcom_py-1.0.1.tar.gz.
File metadata
- Download URL: kickcom_py-1.0.1.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0e0a0f755895d21bd474c7acc6bba21d41cfc7d4ad9d310b9ff18a414cfb619
|
|
| MD5 |
b21254922407f358dcb753a39a5f0836
|
|
| BLAKE2b-256 |
b94897d4474ec36a557e97299e42573acdeb36bd73006e00173076aa273d17aa
|
File details
Details for the file kickcom_py-1.0.1-py3-none-any.whl.
File metadata
- Download URL: kickcom_py-1.0.1-py3-none-any.whl
- Upload date:
- Size: 27.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0e2942f76ad23cbcaf4f4bd90cc055701ab451ae4bea6d9a1a9d6dc5b08a89e
|
|
| MD5 |
18231c56a9316e51cb81f3841db490f0
|
|
| BLAKE2b-256 |
46dbffe67cc132e08229420460b9438f8577bd659dd10c993925a65785cbc73c
|