# JHolodex
[](https://github.com/pinapelz/JHolodex/actions/workflows/maven.yml)
A Java wrapper for the [Holodex API](https://docs.holodex.net/#section/Holodex-API-Documentation).
All GET and POST requests are supported and is modelled after the Holodex API.
Please check the [Holodex API](https://holodex.stoplight.io/) for more information regarding the specifications
[Holodex License](https://docs.holodex.net/#section/LICENSE)
## Download

[](https://jitpack.io/#pinapelz/JHolodex)
### Maven
```xml
com.github.pinapelz
JHolodex
VERSION_HERE
```
### Gradle
```java
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.pinapelz:JHolodex:Tag'
}
```
#### Add [JitPack](https://jitpack.io/) to your list of repositories
## Getting Started
Please check what values are available at each endpoint through the [Holodex API Documentation](https://docs.holodex.net/#section/Holodex-API-Documentation).
The use of enums is optional, you can always pass in Strings as parameters as they appear on Holodex
The following are some example use cases to get you started.
### Channel Information
```java
Holodex holodex = new Holodex("YOUR_API_KEY_HERE");
Channel channel = holodex.getChannel("UCupmjRr7kPgzXKh-cPxxGbg");
System.out.println(channel.name); // Erina Ch. エリナ・マキナ 【Phase Connect】
System.out.println(channel.english_name); // Erina Makina # This provides an English or localized name if available
System.out.println(channel.type); // vtuber
System.out.println(channel.subscriber_count); // 28500
```
### Live and Upcoming Videos
Queries the videos for a particular channel
```java
List