.list("contentDetails").setMine(true).execute();
YouTube.Channels.List channelLists = this.youTube.channels().list(CONTENT).setId(this.userInfo.getUserId()).setKey(this.youtubeConfig.getApiKey()); boolean tryAgain = false; do { channelLists = null; } else { channelLists = this.youTube.channels().list(CONTENT).setId(this.userInfo.getUserId()).setOauthToken(this.youtubeConfig.getApiKey()) .setPageToken(channelLists.getPageToken());
/** * An accessor for creating requests from the Channels collection. * * <p>The typical use is:</p> * <pre> * {@code YouTube youtube = new YouTube(...);} * {@code YouTube.Channels.List request = youtube.channels().list(parameters ...)} * </pre> * * @return the resource collection */ public Channels channels() { return new Channels(); }