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

Uploaded Source

Built Distribution

afreeca-0.4.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for afreeca-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e403768189150955064047b024f209c2d598b9d6ca1f0749492603712bf48aea
MD5 b47160a6431c093b4759d3986dad2b91
BLAKE2b-256 c45df5661cb934a54d63d4d5fe9428baa46e7349883de13e4f2acb7aaedab1dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: afreeca-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0af152cc1c9bcb0ae328280394c454606ec48077de7f412acd3f22575fc01e1c
MD5 6e8e3eb21aaea063ba87862dccb68a2a
BLAKE2b-256 899af5df058215e8b5fabe6ad32d6158cced2835d551bc9545b22fc96ef1f9f4

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