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.2.1.tar.gz
(9.2 kB
view details)
Built Distribution
afreeca-0.2.1-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file afreeca-0.2.1.tar.gz
.
File metadata
- Download URL: afreeca-0.2.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e89134d45f174f87c66092c35899631829fe7911e38bfe5997a504c62fa2477 |
|
MD5 | 5b7972c25c0755847bafe786de0ef1db |
|
BLAKE2b-256 | c7589055ab2b5eea3b72e4e126ffc4d969b9cd194efb8f36944f8fa348d408ee |
File details
Details for the file afreeca-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.2.1-py3-none-any.whl
- Upload date:
- Size: 10.8 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 | a8cf0a7ae17fc078e2ca3e3c19ba8448dd3afd49876aef78f7b902dba9be575b |
|
MD5 | 2a8ae79137d98e5f715a1d5bbcb8a57f |
|
BLAKE2b-256 | 09ad6a080215dddb844a479a3077e3977289a154b9a1921a8416e3ba625b2c5e |