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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: afreeca-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 47c0a64e88ea28904ca4842813eb0f2fb44249d75a8f17681e2d138bbb8a7bdd
MD5 818318fb145fa635b4ab2d939c471dfd
BLAKE2b-256 ef72514dbaedf4d117c44c25571f8c9a759a1986832c44130cf1428e8911b1e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: afreeca-0.5.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b9985eb7b18887ea1ee25d753a9996e5a44dbb80e0acd0f1b8187aa3f458cb16
MD5 6a143b44c43851ae6543c687f341862e
BLAKE2b-256 5408227cdc43ef365be819ae2009382a6f14800e64c711f6c644e721e098ec84

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