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)
channels = await client.channels(limit=100)
print(channels[0].name)
print(channels[0].subscriber_count)
asyncio.run(main())
"""
UCAoy6rzhSf4ydcYjJw3WoVg
Airani Iofifteen Channel hololive-ID
508000
Freetalk dan Terima Kasih Superchat! + Risu OG Song React?!
Nanashi Mumei Ch. hololive-EN
528000
"""
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.11.10.tar.gz
(10.4 kB
view hashes)
Built Distribution
holodex-0.11.10-py3-none-any.whl
(14.6 kB
view hashes)
Close
Hashes for holodex-0.11.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17856b95e9e71fbf070fc3a99c91d66c23c9670138095340e2a0d6edeef69cf6 |
|
MD5 | f9593e1cec8d7663364d46511b7d89c8 |
|
BLAKE2b-256 | d1280f30747b6d42301c1e811345bc965b6955ccd174ba3748388eb263ef13bd |