R/person_images.R

Defines functions person_images

Documented in person_images

person_images <-
function(api_key, id){
    
    url <- fromJSON(GET(url=paste("http://api.themoviedb.org/3/person/", id, "/images?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.