diff --git a/utils/youtube.tsx b/utils/youtube.tsx new file mode 100644 index 00000000..b3fdff5f --- /dev/null +++ b/utils/youtube.tsx @@ -0,0 +1,6 @@ +import { YoutubeAPIClient } from 'youtube-api-v3-wrapper' + +export const youtube = new YoutubeAPIClient( + 'key', + process.env.NEXT_PUBLIC_YOUTUBE_API_KEY +)