TMDb

2.1 Deprecation Notice!

Please be aware that the 2.1 version of our API has been deprecated. 2.1 will be shut down on September 15, 2013. It has been replaced by v3. You can read the new API documentation here.

Movie.getLatest

The Movie.getLatest method is a simple method. It returns the ID of the last movie created in the db. This is useful if you are scanning the database and want to know which id to stop at.

Example URL

http://api.themoviedb.org/2.1/Movie.getLatest/en/xml/APIKEY

Options

Language: IETF Language Tag, e.g. en-US

Type: Type can be xml, yaml or json.

API Key: The API key we supplied you with for your account.

The Movie.getLatest method is language and locale independent.

Example Response


<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
  <opensearch:Query searchTerms="36462"/>
  <opensearch:totalResults>1</opensearch:totalResults>
  <movie>
    <name>Inception</name>
    <id>36462</id>
    <imdb_id>tt1375666</imdb_id>
    <version>11</version>
    <last_modified_at>2010-07-26 17:06:18</last_modified_at>
  </movie>
</OpenSearchDescription>