getLiveAndUpcomingVideos (String)
Method that makes a GET request to https://holodex.net/api/v2/live
Returns
A List of Video objects matching the channel ID.
Parameters
Name
Type
channelId
String
Usage Example
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));Result Example
Last updated