AfreecaTV API Wrapper
Project description
Afreeca
AfreecaTV API Wrapper
Install
pip install afreeca
Usage
import asyncio
from afreeca import AfreecaTV, Chat, UserCredential
async def callback(chat: Chat):
print(f"{chat.nickname}: {chat.message}")
async def main():
cred = await UserCredential.login("ID", "PW")
afreeca = AfreecaTV(credential=cred)
chat = await afreeca.create_chat("BJ")
chat.add_callback(callback)
await chat.start()
asyncio.run(main())
Reference
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
afreeca-0.4.2.tar.gz
(9.5 kB
view details)
Built Distribution
afreeca-0.4.2-py3-none-any.whl
(11.2 kB
view details)
File details
Details for the file afreeca-0.4.2.tar.gz
.
File metadata
- Download URL: afreeca-0.4.2.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41fccfd9b977ece802fd365c844c59c154225c05a4bc08ede944762a1088bedb |
|
MD5 | 07dcc4b5f6fa35008dd04cc8529a93fb |
|
BLAKE2b-256 | 7f3493519df1061840cd070b9e71ec06f793f569ee0cd5e938c3c337ada8817c |
File details
Details for the file afreeca-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.4.2-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 193f5b9bd426a078aeac58c46a8bc76c866716140203210803a3b5649049b20b |
|
MD5 | b14f9a022508daeab5980fd3d989c9d0 |
|
BLAKE2b-256 | 72606063ec2cc508c0023e332894094a0cc35dd19ca8c1e4f7a639cd077bc075 |