* @copyright (c) 2013, Michael Roterman * @version 0.0.1 */ namespace Tmdb\Api; /** * Class Changes * @package Tmdb\Api * http://docs.themoviedb.apiary.io/#changes */ class Changes extends AbstractApi { /** * 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. * * You can then use the movie changes API to get the actual data that has been changed. * * Please note that the change log system to support this was changed * on October 5, 2012 and will only show movies that have been edited since. * * @param array $parameters * @param array $headers * @return mixed */ public function getMovieChanges(array $parameters = array(), array $headers = array()) { return $this->get('movie/changes', $parameters, $headers); } /** * Get a list of people 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. * * You can then use the movie changes API to get the actual data that has been changed. * * Please note that the change log system to support this was changed * on October 5, 2012 and will only show movies that have been edited since. * * @param array $parameters * @param array $headers * @return mixed */ public function getPersonChanges(array $parameters = array(), array $headers = array()) { return $this->get('person/changes', $parameters, $headers); } }