Macaw-Movies/Development/3rd party API/TMDB-json-responses

Jump to: navigation, search

TMDb API Configuration

Request: api.themoviedb.org/3/configuration?api_key=xxxx

 1 {
 2   "images": {
 3     "base_url": "http://image.tmdb.org/t/p/",
 4     "secure_base_url": "https://image.tmdb.org/t/p/",
 5     "backdrop_sizes": [
 6       "w300",
 7       "w780",
 8       "w1280",
 9       "original"
10     ],
11     "logo_sizes": [
12       "w45",
13       "w92",
14       "w154",
15       "w185",
16       "w300",
17       "w500",
18       "original"
19     ],
20     "poster_sizes": [
21       "w92",
22       "w154",
23       "w185",
24       "w342",
25       "w500",
26       "w780",
27       "original"
28     ],
29     "profile_sizes": [
30       "w45",
31       "w185",
32       "h632",
33       "original"
34     ],
35     "still_sizes": [
36       "w92",
37       "w185",
38       "w300",
39       "original"
40     ]
41   },
42   "change_keys": [
43     "adult",
44     "also_known_as",
45     "alternative_titles",
46     "biography",
47     "birthday",
48     "budget",
49     "cast",
50     "character_names",
51     "crew",
52     "deathday",
53     "general",
54     "genres",
55     "homepage",
56     "images",
57     "imdb_id",
58     "name",
59     "original_title",
60     "overview",
61     "plot_keywords",
62     "production_companies",
63     "production_countries",
64     "releases",
65     "revenue",
66     "runtime",
67     "spoken_languages",
68     "status",
69     "tagline",
70     "title",
71     "trailers",
72     "translations"
73   ]
74 }

Movies by name

Request: api.themoviedb.org/3/search/movie?api_key=xxxx&query=auberge

 1 {
 2     "page":1,
 3     "results": [
 4         {
 5             "adult":false,
 6             "backdrop_path":"/uK831vMfGfvZIAmam29IozN0XDe.jpg",
 7             "id":1555,
 8             "original_title":"L'Auberge Espagnole",
 9             "release_date":"2002-05-17",
10             "poster_path":"/j8WacqRgpvsWU9oFSi0nfJf1pWt.jpg",
11             "popularity":0.587795278800469,
12             "title":"The Spanish Apartment",
13             "video":false,
14             "vote_average":6.8,
15             "vote_count":54
16         },
17         {
18             "adult":false,
19             "backdrop_path":"/a4dQvZWZnHH6fD98Jsvu7sgYY2y.jpg",
20             "id":28190,"original_title":"L'auberge rouge",
21             "release_date":"1951-10-19",
22             "poster_path":"/vwCQDXJfQm1ImFdSZD5hkj0dv4B.jpg",
23             "popularity":0.000268089676477193,
24             "title":"The Red Inn",
25             "video":false,
26             "vote_average":7.1,
27             "vote_count":4
28         }
29     ],
30     "total_pages":1,
31     "total_results":2
32 }

Person

Request: api.themoviedb.org/3/person/{id}?api_key=xxxx

 1 {
 2     "adult":false,
 3     "also_known_as": [
 4     ],
 5     "biography":"Audrey Justine Tautou is ....",
 6     "birthday":"1978-08-09",
 7     "deathday":"",
 8     "homepage":"",
 9     "id":2405,
10     "imdb_id":"nm0851582",
11     "name":"Audrey Tautou",
12     "place_of_birth":"Beaumont, Puy-de-Dôme, France",
13     "popularity":3.85032393540406,
14     "profile_path":"/zVBnztf1vAJg6COSEyrQaUUr2PS.jpg"
15 }

Movies

Request: api.themoviedb.org/3/movie/{id}?api_key=xxxx&append_to_response=credits

  1 {
  2     "adult":false,
  3     "backdrop_path":"/uK831vMfGfvZIAmam29IozN0XDe.jpg",
  4     "belongs_to_collection": {
  5             "id":239766,
  6             "name":"The Klapisch Trilogy",
  7             "poster_path":"/woD0gFHbZgwi9RpLL0uSQ56hnJA.jpg",
  8             "backdrop_path":"/3ahNzWAv20FlJ0i2wrrgKPOjQCT.jpg"
  9         },
 10     "budget":0,
 11     "genres":   [
 12         {
 13             "id":35,
 14             "name":"Comedy"
 15         },
 16         {
 17             "id":18,
 18             "name":"Drama"
 19         },
 20         {
 21             "id":10749,
 22             "name":"Romance"
 23         }
 24     ],
 25     "homepage":"",
 26     "id":1555,
 27     "imdb_id":"tt0283900",
 28     "original_language":"en",
 29     "original_title":"L'Auberge Espagnole",
 30     "overview":"A strait-laced French.... of love and friendship.",
 31     "popularity":0.407367422824576,
 32     "poster_path":"/j8WacqRgpvsWU9oFSi0nfJf1pWt.jpg",
 33     "production_companies": [
 34         {
 35             "name":"Mate Producciones S.A.",
 36             "id":732
 37         }
 38     ],
 39     "production_countries":  [
 40         {
 41             "iso_3166_1":"FR",
 42             "name":"France"
 43         }
 44     ],
 45     "release_date":"2002-05-17",
 46     "revenue":0,
 47     "runtime":122,
 48     "spoken_languages": [
 49         {
 50             "iso_639_1":"fr",
 51             "name":"Français"
 52         }
 53     ],
 54     "status":"Released",
 55     "tagline":"",
 56     "title":"The Spanish Apartment",
 57     "video":false,
 58     "vote_average":6.8,
 59     "vote_count":49,
 60     "credits":
 61         {
 62             "cast":  [
 63                 {
 64                     "cast_id":2,
 65                     "character": "Xavier",
 66                     "credit_id":"52fe42fdc3a36847f8032179",
 67                     "id":17497,
 68                     "name":"Romain Duris",
 69                     "order":0,
 70                     "profile_path":"/buU0mFOX7PvSr50F6H8SrN71W08.jpg"
 71                 },
 72                 {
 73                     "cast_id":3,
 74                     "character":"Martine",
 75                     "credit_id":"52fe42fdc3a36847f803217d",
 76                     "id":2405,
 77                     "name":"Audrey Tautou",
 78                     "order":1,
 79                     "profile_path":"/zVBnztf1vAJg6COSEyrQaUUr2PS.jpg"
 80                 },
 81                 {
 82                     "cast_id":4,
 83                     "character":"Wendy",
 84                     "credit_id":"52fe42fdc3a36847f8032181",
 85                     "id":17521,
 86                     "name":"Kelly Reilly",
 87                     "order":2,
 88                     "profile_path":"/utp6IT1cLk80RgJzehBIWkSQ8FJ.jpg"
 89                 }
 90             ],
 91             "crew": [
 92                 {
 93                     "credit_id":"52fe42fdc3a36847f8032175",
 94                     "department":"Directing",
 95                     "id":17520,
 96                     "job":"Director",
 97                     "name":"Cédric Klapisch",
 98                     "profile_path":"/bUujgUI3PZ9qK54uGzndVp4CNRc.jpg"
 99                 },
100                 {
101                     "credit_id":"52fe42fdc3a36847f80321a7",
102                     "department":"Production",
103                     "id":17530,
104                     "job":"Producer",
105                     "name":"Bruno Levy",
106                     "profile_path":null
107                 },
108                 {
109                     "credit_id":"52fe42fdc3a36847f80321ad",
110                     "department":"Camera","id":17531,
111                     "job":"Director of Photography",
112                     "name":"Dominique Colin",
113                     "profile_path":null
114                 },
115                 {
116                     "credit_id":"52fe42fdc3a36847f80321b3",
117                     "department":"Editing",
118                     "id":17532,
119                     "job":"Editor",
120                     "name":"Francine Sandberg",
121                     "profile_path":null
122                 },
123                 {
124                     "credit_id":"52fe42fdc3a36847f80321b9",
125                     "department":"Production",
126                     "id":17533,
127                     "job":"Casting",
128                     "name":"Pep Armengol",
129                     "profile_path":null
130                 },
131                 {
132                     "credit_id":"52fe42fdc3a36847f80321bf",
133                     "department":"Production",
134                     "id":16336,
135                     "job":"Casting",
136                     "name":"Lucy Boulting",
137                     "profile_path":null
138                 },
139                 {
140                     "credit_id":"52fe42fdc3a36847f80321c5",
141                     "department":"Production",
142                     "id":17534,"job":"Casting",
143                     "name":"Emmanuelle Gaborit",
144                     "profile_path":null
145                 },
146                 {
147                     "credit_id":"52fe42fdc3a36847f80321cb",
148                     "department":"Art",
149                     "id":17535,
150                     "job":"Production Design",*
151                     "name":"François Emmanuelli",
152                     "profile_path":null
153                 },
154                 {
155                     "credit_id":"52fe42fdc3a36847f80321d1",
156                     "department":"Costume & Make-Up",
157                     "id":17536,"job":"Costume Design",
158                     "name":"Anne Schotte",
159                     "profile_path":null
160                 },
161                 {
162                     "credit_id":"52fe42fdc3a36847f80321d7",
163                     "department":"Sound",
164                     "id":17537,
165                     "job":"Sound Designer",
166                     "name":"Cyril Moisson",
167                     "profile_path":null
168                 },
169                 {
170                     "credit_id":"52fe42fdc3a36847f80321dd",
171                     "department":"Writing",
172                     "id":17520,
173                     "job":"Screenplay",
174                     "name":"Cédric Klapisch",
175                     "profile_path":"/bUujgUI3PZ9qK54uGzndVp4CNRc.jpg" 
176                 }
177             ]            
178         }
179     }
180 }

This page was last edited on 23 April 2015, at 14:50. Content is available under Creative Commons License SA 4.0 unless otherwise noted.