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.3.tar.gz
(9.5 kB
view details)
Built Distribution
afreeca-0.4.3-py3-none-any.whl
(11.2 kB
view details)
File details
Details for the file afreeca-0.4.3.tar.gz
.
File metadata
- Download URL: afreeca-0.4.3.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 | 592d2652dabe87fd08935fdc91b575c44836043687e357a43f9c51d7a5be3a97 |
|
MD5 | 0a4db67dc04d9401892761848f75e30d |
|
BLAKE2b-256 | db1194859980ad8dedab2220405816db9473898cb722b3bdb10b35860c9c1501 |
File details
Details for the file afreeca-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.4.3-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 | 06fc54589c9589990f896d103581c5ff3f7f2f6c3de46c32dd12c0f7c8435d14 |
|
MD5 | ed9742e6405420bdad59639a39ae68d4 |
|
BLAKE2b-256 | 85134a2ff88cedca72ce5162175ac5ea13134be47f17f816b305d71bc826e7e6 |