youtube_api
youtube_api copied to clipboard
Get channel with maxResults more than exists videos in a channel.
When I try to load the channel's videos with only one video, it throws an exception. The problem solves if I put "1" for maxResults.
YoutubeAPI youtube = YoutubeAPI(key, type: "channel", maxResults: 1); videoResult = await youtube.channel(channelId);