How APIs work. Learn how to use the YouTube API like @Tom Scott and @MrBeast to automatically update a video in the background. https://github.com/fireship-io/this-video-has-n-views

Tom Scott video https://youtu.be/BxV14h0kFs0
Mr Beast Video https://youtu.be/YSoJPA8-oHc

Note: The background job is on a 5 minute interval, so it won't be very accurate.

Fireship OAuth 2.0 Video https://fireship.io/lessons/google-apis-node-tutorial/