https://github.com/ombe1229/holodex
Holodex api Python wrapper
https://github.com/ombe1229/holodex
holodex hololive vtuber
Last synced: 10 months ago
JSON representation
Holodex api Python wrapper
- Host: GitHub
- URL: https://github.com/ombe1229/holodex
- Owner: ombe1229
- License: apache-2.0
- Created: 2021-08-20T16:48:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T10:10:53.000Z (over 2 years ago)
- Last Synced: 2024-08-30T20:39:39.235Z (over 1 year ago)
- Topics: holodex, hololive, vtuber
- Language: Python
- Homepage: https://holodex.stoplight.io/
- Size: 107 KB
- Stars: 13
- Watchers: 2
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# holodex
[](https://badge.fury.io/py/holodex)
[](https://pypi.python.org/pypi/holodex)
[](https://www.codefactor.io/repository/github/ombe1229/holodex)
[](https://github.com/ombe1229/holodex/actions/workflows/ci.yml)
> Holodex api wrapper
## Example
```py
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
```