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 May 29, 2017, 10:45 p.m.