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

Uploaded Source

Built Distribution

afreeca-0.4.3-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for afreeca-0.4.3.tar.gz
Algorithm Hash digest
SHA256 592d2652dabe87fd08935fdc91b575c44836043687e357a43f9c51d7a5be3a97
MD5 0a4db67dc04d9401892761848f75e30d
BLAKE2b-256 db1194859980ad8dedab2220405816db9473898cb722b3bdb10b35860c9c1501

See more details on using hashes here.

File details

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

File metadata

  • Download URL: afreeca-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 11.2 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.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 06fc54589c9589990f896d103581c5ff3f7f2f6c3de46c32dd12c0f7c8435d14
MD5 ed9742e6405420bdad59639a39ae68d4
BLAKE2b-256 85134a2ff88cedca72ce5162175ac5ea13134be47f17f816b305d71bc826e7e6

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