AfreecaTV API Wrapper
Project description
Afreeca
AfreecaTV API Wrapper
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())
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.1.0.tar.gz
(7.5 kB
view details)
Built Distribution
File details
Details for the file afreeca-0.1.0.tar.gz
.
File metadata
- Download URL: afreeca-0.1.0.tar.gz
- Upload date:
- Size: 7.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 | 68c5e60f5d0e47c24c5e4c4cbe57a00f4678a3f87a6e96ae0c3368b0b71bb623 |
|
MD5 | 338dbd603d4fa2f70132a91561f09e4b |
|
BLAKE2b-256 | bda9622c6f4eaac27cb4e0d43c3f6ffce574e8fe345625155b55535bea38a3d3 |
File details
Details for the file afreeca-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.5 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 | fadd7efc3e39a93ffc8ef7afd82153ea8c66914120be28eb5740f220a1553697 |
|
MD5 | c3d7676642e0f6f37a5f7084ff1bdb0b |
|
BLAKE2b-256 | 9dc0613cef4d10876b7ca182e41ab600100d1b336f66364ac6e4bf1ad9b46bc2 |