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
Metadata
Release files for holodex 0.11.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| holodex-0.11.11.tar.gz | 10.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| holodex-0.11.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.9 kB
Release files / holodex-0.11.11.tar.gz
| Download URL | holodex-0.11.11.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b82259dbaddd49889a2cea6e515f9eaf60ba53a54813f98aec3ae2cae553eeae
|
|
BLAKE2b-256 checksum How to use checksums |
0dd26aed78f0548ec92a48323cb87e134e891dab4549b4e060b53930fde17c0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / holodex-0.11.11-py3-none-any.whl
| Download URL | holodex-0.11.11-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6efc91cabcb72f4bd7fb3d9cddafe46d4889db266ca2abc1f8dd5c8d07a3953b
|
|
BLAKE2b-256 checksum How to use checksums |
834c55949db938690a1fab00f608a63da71f4ea08023eb842a555a04806a0d1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|