Class: TMDb::Changes

Inherits:
Object
  • Object
show all
Defined in:
lib/tmdb/changes.rb

Class Method Summary collapse

Class Method Details

.movies(options = {}) ⇒ Object

Get a list of movie ids that have been edited. By default we show 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.

options - The hash options used to filter the search (default: {}):

:page - Page.
:start_date - Start date (YYYY-MM-DD).
:end_date - End date (YYYY-MM-DD).

Examples

TMDb::Movie.find(24)

TMDb::Movie.find(32123, language: ‘pt’)



18
19
20
# File 'lib/tmdb/changes.rb', line 18

def self.movies(options = {})
  Fetcher::get('/movie/changes', options)
end