R/tv_content_ratings.R

Defines functions tv_content_ratings

Documented in tv_content_ratings

tv_content_ratings <-
function(api_key, id){
    
    url <- fromJSON(GET(url=paste("http://api.themoviedb.org/3/tv/", id, "/content_ratings?api_key=", 
                                  api_key, sep=""))$url)
    
    return(url)
    
}

Try the TMDb package in your browser

Any scripts or data that you put into this service are public.

TMDb documentation built on March 17, 2020, 1:06 a.m.