Skip to content

Instantly share code, notes, and snippets.

@Irio
Created June 7, 2012 19:54
Show Gist options
  • Save Irio/2891178 to your computer and use it in GitHub Desktop.
Save Irio/2891178 to your computer and use it in GitHub Desktop.
Distinction between Movie Info by id or imdb_id on Tmdb requests
/* http://api.themoviedb.org/3/movie/188?api_key=my_key&language=en */
{"adult":false,"backdrop_path":"/wyey4NS4Z1z7293R8FFBETL6DSr.jpg","belongs_to_collection":null,"budget":0,"genres":[{"id":28,"name":"Action"},{"id":53,"name":"Thriller"}],"homepage":"","id":188,"imdb_id":"tt0401792","original_title":"Sin City","overview":"The Sin City series. Director Robert Rodriguez makes the legendary comic artist Frank Miller (Batman and Daredevil) into a series of films depicting his Sin City comics. The films however are not for children.","popularity":0.06,"poster_path":"/mYxbfd8pZz9YTtEFRaOcQboOvMk.jpg","production_companies":[],"production_countries":[],"release_date":null,"revenue":0,"runtime":0,"spoken_languages":[],"tagline":"","title":"Sin City","vote_average":0.0,"vote_count":0}
/* http://api.themoviedb.org/3/movie/tt0401792?api_key=my_key&language=en */
{"adult":false,"backdrop_path":"/kftq445wZNaKEqJ9gXwYOIfI2p1.jpg","belongs_to_collection":{"id":188,"name":"Sin City","poster_path":"/mYxbfd8pZz9YTtEFRaOcQboOvMk.jpg","backdrop_path":"/wyey4NS4Z1z7293R8FFBETL6DSr.jpg"},"budget":40000000,"genres":[{"id":28,"name":"Action"},{"id":80,"name":"Crime"},{"id":18,"name":"Drama"},{"id":53,"name":"Thriller"}],"homepage":"http://www.sincitythemovie.com/","id":187,"imdb_id":"tt0401792","original_title":"Sin City","overview":"Sin City is a neo-noir crime thriller based on Frank Miller's graphic novel series of the same name.The film is primarily based on three of Miller's works: The Hard Goodbye, about a man who embarks on a brutal rampage in search of his one-time sweetheart's killer; The Big Fat Kill, which focuses on a street war between a group of prostitutes and a group of mercenaries; and That Yellow Bastard, which follows an aging police officer who protects a young woman from a grotesquely disfigured serial killer.","popularity":1993.887,"poster_path":"/eCJkepVJslq1nEtqURLaC1zLPAL.jpg","production_companies":[{"name":"Miramax Films","id":14}],"production_countries":[{"iso_3166_1":"US","name":"United States of America"}],"release_date":"2005-04-01","revenue":158733820,"runtime":124,"spoken_languages":[{"iso_639_1":"en","name":"English"}],"tagline":"There is no justice without sin.","title":"Sin City","vote_average":8.4,"vote_count":59}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment