PLACE HOLDER

---- PURPOSE ---- given ALL playlists, return complete list of videos ----------------

knitr::opts_chunk$set(echo = TRUE,  
                                            comment="      ##",  
                                            error=TRUE, 
                                            collapse=TRUE)
load_all()

Retrieve previously stored playlists (see rmd/011_ ...)

read playlists (previously downloaded)

x  <- readRDS(here("data", "playlists.RDS"))
x
if (!exists("api")) api <- get_api_codes()
if (!exists("l")) l  <- get_typical_values()
base_url <- "https://www.googleapis.com/youtube/v3/playlistItems"

Auth_code

old  <- auth.code
auth.code  <- getOption("auth.code")
auth.code


jimrothstein/yt_api documentation built on Nov. 5, 2022, 8:05 p.m.