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.4.tar.gz
(9.4 kB
view details)
Built Distribution
afreeca-0.2.4-py3-none-any.whl
(11.0 kB
view details)
File details
Details for the file afreeca-0.2.4.tar.gz
.
File metadata
- Download URL: afreeca-0.2.4.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f7153df3c320dde0671aad7239efc2ad2231bb9d77f0fcb73dbbf103fb2c776 |
|
MD5 | 53272215249598f273278a26debb2b92 |
|
BLAKE2b-256 | b83b354130b87fe745b757dd093459033058e5f4c5d99186e8da42e7cd1ec062 |
File details
Details for the file afreeca-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.2.4-py3-none-any.whl
- Upload date:
- Size: 11.0 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 | 1dca0dafba2774c8e99d01439f6fff133b10e146848434dd3a5a0e8b3b731304 |
|
MD5 | 129e91fd519e9f818d80aa28df16668b |
|
BLAKE2b-256 | e4e19e2fa77025fc579fc2f82a4c5792af36cabbfc8ec3584cd323b9ac10418f |