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

Uploaded Source

Built Distribution

afreeca-0.2.3-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

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

Hashes for afreeca-0.2.3.tar.gz
Algorithm Hash digest
SHA256 03fe1081b557b281d6cdcd5f84b6df141b42631da933c1d74ed73c80af153890
MD5 d5054ada198adab8bfc80c26788160af
BLAKE2b-256 60e82e0242103238651e801fe8b1ae587ab28b4622b0cdffc41a7c730144926a

See more details on using hashes here.

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

Hashes for afreeca-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cff0141d5e0dba044c34f954b7afae00613219b214c64a13ddc190a4d50f2510
MD5 b2517f8e90f5092218913b41d89871dc
BLAKE2b-256 70bae000a67d3f3d20e4f268dd023fc49902bfd783f55f19d401aff45bc056a7

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