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.3.tar.gz
(9.2 kB
view details)
Built Distribution
afreeca-0.2.3-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file afreeca-0.2.3.tar.gz
.
File metadata
- Download URL: afreeca-0.2.3.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 | 03fe1081b557b281d6cdcd5f84b6df141b42631da933c1d74ed73c80af153890 |
|
MD5 | d5054ada198adab8bfc80c26788160af |
|
BLAKE2b-256 | 60e82e0242103238651e801fe8b1ae587ab28b4622b0cdffc41a7c730144926a |
File details
Details for the file afreeca-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: afreeca-0.2.3-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 | cff0141d5e0dba044c34f954b7afae00613219b214c64a13ddc190a4d50f2510 |
|
MD5 | b2517f8e90f5092218913b41d89871dc |
|
BLAKE2b-256 | 70bae000a67d3f3d20e4f268dd023fc49902bfd783f55f19d401aff45bc056a7 |