Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Youtube in React: channels request
export function buildChannelRequest(channelId) {
return buildApiRequest('GET',
'/youtube/v3/channels',
{
part: 'snippet,statistics',
id: channelId,
fields: 'kind,items(id,snippet(description,thumbnails/medium,title),statistics/subscriberCount)'
}, null);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.