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.0.tar.gz
(9.5 kB
view details)
Built Distribution
afreeca-0.5.0-py3-none-any.whl
(11.2 kB
view details)
File details
Details for the file afreeca-0.5.0.tar.gz
.
File metadata
- Download URL: afreeca-0.5.0.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 | 87ffa868328d3b6bf1357d2a75982fe0c33fac558c13694309d6569ab07975cb |
|
MD5 | b961281832dfc97bfcfca45d4057b3cc |
|
BLAKE2b-256 | 4c48b2cb97f27175dfca47514109beff184da33d5c21bc89f69e97e4e2c7d5b8 |
File details
Details for the file afreeca-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.5.0-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 | 2c93879ecd73c20f66e2cfe9a4b0ba0cc219e51385299195d6ea351f80425c9a |
|
MD5 | 64bab2b30cb784ede25a251d6c8568c1 |
|
BLAKE2b-256 | 8a59e28b9681c8e41979791046f58d0e92f9e1af200e11bd35e692291d691ea8 |