getLiveOrUpcomingVideosForSetOfChannels

Method that makes a GET request to https://holodex.net/api/v2/users/live

Returns

A List of Video objects matching the given parameters.

Parameters

Name
Type

getQueryParameters

GetQueryParameters

Allowed Fields

  • channelIds

Usage Example

HolodexClient holodexClient = new HolodexClient("HOLODEX_API_KEY");

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

GetQueryParameters getQueryParameters = new GetQueryParameters();
getQueryParameters.setChannelIds(new String[]{
                "UC5CwaMl1eIgY8h02uZw7u8A", // Suisei
                "UC1DCedRgGHBdm81E1llLhOQ", // Pekora
                "UCO_aKKYxn4tvrqPjcTzZ6EQ", // Fauna
                "UCMwGHR0BTZuLsmjY_NT5Pwg" // Ina
        });
        
List<Video> videos = holodexClient
                .getLiveOrUpcomingVideosForSetOfChannels(getQueryParameters);

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

Result Example

Last updated