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.3.1.tar.gz
(9.5 kB
view details)
Built Distribution
afreeca-0.3.1-py3-none-any.whl
(11.1 kB
view details)
File details
Details for the file afreeca-0.3.1.tar.gz
.
File metadata
- Download URL: afreeca-0.3.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3f513b3c50403d9f1f55b90db6e98c6960f7ad18b8d6f16fed366a1f13f1af |
|
MD5 | b4b7d860dce70f530a8d0c9efdc0a1fa |
|
BLAKE2b-256 | d23a9fb93e61a9482876bc4d619ba54fb6731c6b8b547dc059ebede18c154110 |
File details
Details for the file afreeca-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.3.1-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0e2e5a44d4b4a81190ba795121d04182cabdc85b3c5908f408bafe49ef94a18 |
|
MD5 | 26f25d1015856d31b32da0c474d109f1 |
|
BLAKE2b-256 | d807cf3780d44b420accdacc92c27826b49d8f6d306d10bafc1d03b8e68662d0 |