Skip to content

kevinfiol/youtube-random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube-random

A microservice that returns a random YouTube video given a YouTube channel ID. Built with Deno and Deno KV.

This microservice caches channel results in an effort to reduce the amount of API calls made to the YouTube API. Google has some pretty strict API quotas (for its free-tier), while also having a very restrictive API, which makes this whole song and dance necessary.

This microservice also uses Basic Authentication in order to further reduce load on your API quotas.

Usage

deno task start
curl http://localhost:8080/random?channelId=$YOUTUBE_CHANNEL_ID

About

a micro-service that returns a random YouTube video given a channel ID while conserving API quotas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors