> For the complete documentation index, see [llms.txt](https://yagato.gitbook.io/holodexwrapper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yagato.gitbook.io/holodexwrapper/methods/getliveandupcomingvideos-string.md).

# getLiveAndUpcomingVideos (String)

## Returns

A List of Video objects matching the channel ID.

## Parameters

| Name      | Type   |
| --------- | ------ |
| channelId | String |

## Usage Example

{% code lineNumbers="true" %}

```java
HolodexClient holodexClient = new HolodexClient("HOLODEX_API_KEY");

ObjectMapper objectMapper = JsonMapper.builder()
                .addModule(new JavaTimeModule())
                .build();

List<Video> videos = holodexClient
    .getLiveAndUpcomingVideos("UCs86f6tbWatcKVt7emv9hfQ");

System.out.println(objectMapper
    .writerWithDefaultPrettyPrinter()
    .writeValueAsString(videos));
```

{% endcode %}

## Result Example

{% code lineNumbers="true" %}

```
[ {
  "id" : "EheqWg4LOLA",
  "title" : "【 睡眠導入 】聞くと眠くなるお姉さんの朗読 ラジオ 【 無人配信 】24/7 Unmanned Japanese story reading aloud 【 VTuber 河崎翆 作業用 安眠用 】",
  "type" : "stream",
  "topic_id" : "asmr",
  "published_at" : "2022-08-20T12:03:14.000Z",
  "available_at" : "2022-08-20T12:39:08.000Z",
  "duration" : 0,
  "status" : "live",
  "start_scheduled" : "2022-08-20T12:05:00.000Z",
  "start_actual" : "2022-08-20T12:39:08.000Z",
  "live_viewers" : 8,
  "songcount" : 0,
  "channel" : {
    "id" : "UCs86f6tbWatcKVt7emv9hfQ",
    "name" : "河崎 翆 ch / Kawasaki Sui ch.",
    "english_name" : "Kawasaki Sui",
    "type" : "vtuber",
    "photo" : "https://yt3.ggpht.com/ytc/AGIKgqP6pxoQgEhhcLn9BDukBfcaFiJ1ggRYcQjthULO=s800-c-k-c0x00ffffff-no-rj",
    "org" : "Independents",
    "suborg" : "ZZ",
    "inactive" : false
  }
} ]
```

{% endcode %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/methods/getliveandupcomingvideos-string.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.
