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.5.4.tar.gz
(9.6 kB
view details)
Built Distribution
afreeca-0.5.4-py3-none-any.whl
(11.3 kB
view details)
File details
Details for the file afreeca-0.5.4.tar.gz
.
File metadata
- Download URL: afreeca-0.5.4.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f74449c4b4c09a49bbf123b8170175165ed34d364c5970b13a67653706c17dd |
|
MD5 | b143403f1ea993880d114c66f5f94f12 |
|
BLAKE2b-256 | ec6453487d19c0612c31ceadf39923de7338e0e2dadb13a09e43da11b501d510 |
File details
Details for the file afreeca-0.5.4-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.5.4-py3-none-any.whl
- Upload date:
- Size: 11.3 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 | 3dd3866edd01b69af01def3381266b8e3e850c679400a9424a74bb6dab6d4efc |
|
MD5 | ecabee6ecd8d0b28e4cd0a8a0ce7b55b |
|
BLAKE2b-256 | 6873a3c0ecdf54d09f187eb7b9ed15429e1bfc61d47f0d393f14b84d90066268 |