changes_movie {TMDb} | R Documentation |
Get a list of movie ids that have been edited.
Description
By default TMDb shows the last 24 hours and only 100 items per page. The maximum number of days that can be returned in a single request is 14.
Usage
changes_movie(api_key, page = 1, start_date = NA, end_date = NA)
Arguments
api_key |
Your TMDb Consumer Key. |
page |
The number of the page to show. Minimum 1, maximum 1000. |
start_date |
The date starting from which to search. Format YYYY-MM-DD. |
end_date |
The date until which to search. Format YYYY-MM-DD. |
Details
The change log system to support this was changed on October 5, 2012 and will only show movies that have been edited since.
Value
A list with the following fields:
results |
The IDs of the changed movies. |
page |
The current page for the results. |
total_pages |
The number of pages for the results. |
total_results |
The number of results. |
Author(s)
Andrea Capozio
References
https://developers.themoviedb.org/3/getting-started
Examples
## Not run:
## An example of an authenticated request,
## where api_key is fictitious.
## You can obtain your own at https://www.themoviedb.org/documentation/api
api_key <- "key"
changes_movie(api_key = api_key, page = 2)
## End(Not run)
[Package TMDb version 1.1 Index]