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.0.tar.gz
(9.2 kB
view details)
Built Distribution
afreeca-0.2.0-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file afreeca-0.2.0.tar.gz
.
File metadata
- Download URL: afreeca-0.2.0.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 | f1ad72d974bb5890f42f28be893070f95eb6255aa1416783b968239129f98351 |
|
MD5 | aa62c8ca0f662bc4347812b607fe821a |
|
BLAKE2b-256 | 3c18fb8b6696957a24550283c918388a9d559578621993bcea9e6abf5b5c2648 |
File details
Details for the file afreeca-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.2.0-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 | 558e0a4bbc21441539abc0539799c69e2cc2eea91769be4df49c7989472a0338 |
|
MD5 | bf22b1be0ce928855d6b123b7580730d |
|
BLAKE2b-256 | 7bd703ef84155b287190bfe7552d45c5020c725ad003f7e09a0e3a71ed457623 |