changes_tv {TMDb}R Documentation

Get a list of TV show 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_tv(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 properly support TV was updated on May 13, 2014. You'll likely only find the edits made since then to be useful in the change log system.

Value

A list with the following fields:

results

The IDs of the changed TV shows.

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_tv(api_key = api_key, page = 2)

## End(Not run)	

[Package TMDb version 1.1 Index]