Posts new Youtube videos to Discord.
In the root of the repository, create a .env
file containing the following:
Environment Variable | CLI Flag Equiv. | Description |
---|---|---|
YTBOT_GC_API_KEY |
--apikey |
Google Cloud API Key |
YTBOT_WEBHOOK |
--webhook |
Discord Webhook for posting video |
- Go to https://developers.google.com/youtube/v3/docs/search/list
- Set
part
=snippet
- Set
q
= the channel name - Execute
- Check JSON output