Meetup VODs — https://www.youtube.com/@creatorsgarten
There are many ways you can contribute! For more information see CONTRIBUTING.md.
For easy consumption, the contents is this repository is published as a single JSON file at https://creatorsgarten.github.io/videos/videos.json
-
Get owner access to the YouTube channel.
-
Run
bin/auth
to get a refresh token for the YouTube API. -
Put the refresh token in GitHub Secrets as
GOOGLE_REFRESH_TOKEN
.
./bin/import --event <event> --slug <slug> --video https://youtu.be/<videoId>
./bin/sync
pnpm exec tsx
const { google } = await import('googleapis')
const GoogleAuth = await import('./src/GoogleAuth')
const accessToken = await GoogleAuth.getToken()
google.options({ auth: GoogleAuth.authClient })
const youtube = google.youtube('v3')
// Get video info by ID
await youtube.videos.list({ part: ['snippet', 'status'], id: ['uDZIraaY5s8'] })