@codesweetly/react-youtube-playlist
Version:
A simple video gallery with a lightbox for displaying YouTube playlists in React apps.
16 lines (15 loc) • 369 B
TypeScript
declare function getPlaylistData(apiKey: string, playlistId: string, currNextPageToken?: string): Promise<{
id: string;
title: string;
thumbnails: {
high: {
url: string;
};
};
resourceId: {
videoId: string;
};
nextPageToken: string;
totalVideosAvailable: number;
}[]>;
export default getPlaylistData;