Skip to main content

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

https://github.com/ha1fstack/aftv-ws

Project details


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.5.3.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

afreeca-0.5.3-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file afreeca-0.5.3.tar.gz.

File metadata

  • Download URL: afreeca-0.5.3.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for afreeca-0.5.3.tar.gz
Algorithm Hash digest
SHA256 3a3dfa38dfa33ff82eb70c2a44c2c59f337469faeac6d08cb5679095961a1602
MD5 58c8674282e8f7efb2f33fd7d831a4b3
BLAKE2b-256 738de12008f9565fb860f2d084eadbc1868ebb9cf3db96a59b91ad91436df511

See more details on using hashes here.

File details

Details for the file afreeca-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: afreeca-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for afreeca-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 79a951470b5f9694826d4e7e9927187570f78133f3c8668b8412374eeb4ad474
MD5 c94620e72aa9911a8eb6f260db29cbaa
BLAKE2b-256 29a1136d0114d31a2caf176d05a77b42893611857a4e59dc8ad45fedb4f65be4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page