Holodex api wrapper
Project description
holodex
Holodex api wrapper
Example
import asyncio
from holodex.client import HolodexClient
async def main():
async with HolodexClient() as client:
search = await client.autocomplete("iofi")
channel_id = search.contents[0].value
print(channel_id)
channel = await client.channel(channel_id)
print(channel.name)
print(channel.subscriber_count)
videos = await client.videos_from_channel(channel_id, "videos")
print(videos.contents[0].title)
asyncio.run(main())
# UCAoy6rzhSf4ydcYjJw3WoVg
# Airani Iofifteen Channel hololive-ID
# 446000
# 【 Senin Produktif 】Selamat Hari Senin! May RNG God Bless Our Gacha【 iofi / イオフィ 】
Installation
python -m pip install holodex
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
holodex-0.8.7.tar.gz
(9.5 kB
view hashes)
Built Distribution
holodex-0.8.7-py3-none-any.whl
(12.7 kB
view hashes)