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.1.1.tar.gz
(8.8 kB
view details)
Built Distribution
afreeca-0.1.1-py3-none-any.whl
(10.4 kB
view details)
File details
Details for the file afreeca-0.1.1.tar.gz
.
File metadata
- Download URL: afreeca-0.1.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd5d580846ae4701a3b7dfdd636c5ac5e0c390b5cfe744feb9863bd70f2eea8e |
|
MD5 | 5d5ed78864577f4266f930bd872018fe |
|
BLAKE2b-256 | 85f68c4b2b8ea493f5d60d7ff373e28af563869fb6173d99b1b4b1ad363420ea |
File details
Details for the file afreeca-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.4 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 | d448d8674c57939a3be1319984efa1ff11c39253b2bbba0bdb49d4a91c039959 |
|
MD5 | 82da4e75fec08dc4fa882d3cc4af40dd |
|
BLAKE2b-256 | a99ae9c495217eb31c733aae62a19f460c45514e0ce47382a549b6bcb758712e |