1 External Data
Michael Solati редактировал(а) эту страницу 2022-01-06 14:11:15 -08:00

web.dev relies on some externally generated data. Below the various external data sources are documented.

Shows

YouTube playlists, that are used to generate web.dev/shows are generated by a Firebase Function. The function takes a list of playlist IDs and loops through them fetching all the videos recursively. It then fetches all the video thumbnails and stores them in a storage bucket then saves all the playlists videos into a JSON file. One JSON per playlist.

This process requires a YouTube API Key. Ensure the GCP project has Secret Manager enabled and there is YOUTUBE_KEY with a key for the YouTube Data API.