# HolodexWrapper Documentation

## Introduction

A Java wrapper for the [Holodex API](https://docs.holodex.net/docs/holodex/f4e6fa31af431-getting-started) developed with Java 11.&#x20;

This project is heavily inspired by [Holodex.NET](https://github.com/EBro912/Holodex.NET), you could even interpret it as an almost 1:1 translation of it.&#x20;

## Features

* Support for all the currently available GET and POST endpoints.
* Objects to easily customize your requests.
* All request parameters are included as constants (+70 VTuber groups and organizations).

## Dependencies

* dotenv-java 2.3.2
* unirest-java 1.4.9
* lombok 1.18.26
* junit-jupiter-engine 5.9.3
* jackson-databind 2.15.0
* jackson-datatype-jdk8 2.14.2
* jackson-datatype-jsr318 2.15.0

## Download

```xml
<dependency>
    <groupId>io.github.yagato</groupId>
    <artifactId>HolodexWrapper</artifactId>head
    <version>1.0.0</version>
</dependency>
```

```gradle
implementation group: 'io.github.yagato', name: 'HolodexWrapper', version: '1.0.0'
```

## Getting Started

1. Generate your API key (follow the [guide ](https://docs.holodex.net/docs/holodex/f4e6fa31af431-getting-started)at the official Holodex API documentation).
2. Add the dependency to your project.
3. Enjoy!

{% code lineNumbers="true" %}

```java
HolodexClient holodexClient = new HolodexClient("YOUR_API_KEY");
Channel channel = holodexClient.getChannelInformation("UC5CwaMl1eIgY8h02uZw7u8A");
System.out.println(channel.getName()); // Suisei Channel
System.out.println(channel.getOrg()); // Hololive
System.out.println(channel.getPublishedAt()); // 2018-03-18T08:32:39Z7
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yagato.gitbook.io/holodexwrapper/holodexwrapper-documentation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
