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.2.tar.gz
(8.7 kB
view details)
Built Distribution
afreeca-0.1.2-py3-none-any.whl
(10.4 kB
view details)
File details
Details for the file afreeca-0.1.2.tar.gz
.
File metadata
- Download URL: afreeca-0.1.2.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a54a14ed75df968e4d8030682a573c811b427d92c68fd753617a1634b8f9ffb7 |
|
MD5 | 50851f77f5284ae9552359e74c64a778 |
|
BLAKE2b-256 | 1dffccfe85d54811f4275d64e950b40a7861ba98f32ce89b76e8ccd0de9fc7c2 |
File details
Details for the file afreeca-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.1.2-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 | f0b7ec94f9b8b3603412ab553d87dcfc4af40de2fe5d50ecc2a15606b453f6ef |
|
MD5 | afdd23b03bf36fa651da8bc0b42db363 |
|
BLAKE2b-256 | 03f692df6e697cbff42b1a4982db9c87562f43e4ddf6d34b44c79bc4d58ee23f |