The Movie Database Support

When I do this query: https://api.themoviedb.org/3/movie/248507?api_key=###&language=fr the "language" parameter is ignored and I get a result with english overview and title. The movies I tried have a french translation in TMDB, so I should get it with the API...

4 replies (on page 1 of 1)

Jump to last post

Hi there,

This request is returning French information for me:

travisbell$ curl -v "https://api.themoviedb.org/3/movie/248507?api_key=###&language=fr"
*   Trying 54.83.63.37...
* Connected to api.themoviedb.org (54.83.63.37) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.themoviedb.org
* Server certificate: RapidSSL SHA256 CA
* Server certificate: GeoTrust Global CA
> GET /3/movie/248507?api_key=###&language=fr HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Cache-Control: public, max-age=28800
< Content-Type: application/json;charset=utf-8
< Date: Thu, 23 Mar 2017 19:23:52 GMT
< ETag: "d8ff7b9cd6f29de023ad7367e5961f92"
< Server: openresty
< Status: 200 OK
< Vary: Accept-Encoding
< X-Memc: HIT
< X-Memc-Age: 27530
< X-Memc-Expires: 1270
< X-Memc-Key: d8e65e6ddb86704cb3b8cdc27669e74f
< X-RateLimit-Limit: 40
< X-RateLimit-Remaining: 39
< X-RateLimit-Reset: 1490297042
< Content-Length: 1478
< Connection: keep-alive
<
* Connection #0 to host api.themoviedb.org left intact

And the content from hat request (slightly truncated):

{
  "adult": false,
  "backdrop_path": "/anbyB6Aw4AaAFplCGfT4ODZ0lNZ.jpg",
  "belongs_to_collection": null,
  "budget": 0,
  "genres": [
    {
      "id": 35,
      "name": "Comédie"
    }
  ],
  "homepage": "",
  "id": 248507,
  "imdb_id": "tt3421514",
  "original_language": "fr",
  "original_title": "Supercondriaque",
  "overview": "Romain Faubert est un homme seul qui, à bientôt 40 ans, n’a ni femme ni enfant. Le métier qu’il exerce, photographe pour dictionnaire médical en ligne, n’arrange rien à une hypocondrie maladive qui guide son style de vie depuis bien trop longtemps et fait de lui un peureux névropathe.",
  "popularity": 1.171125,
  "poster_path": "/b4fFxsZvCxH16raJwf7PRMGiy4E.jpg",
  "production_companies": [
    ...
  ],
  "production_countries": [
    {
      "iso_3166_1": "BE",
      "name": "Belgium"
    },
    {
      "iso_3166_1": "FR",
      "name": "France"
    }
  ],
  "release_date": "2014-02-26",
  "revenue": 0,
  "runtime": 107,
  "spoken_languages": [
    ...
  ],
  "status": "Released",
  "tagline": "",
  "title": "Supercondriaque",
  "video": false,
  "vote_average": 5.6,
  "vote_count": 270
}

Not for me:

curl https://api.themoviedb.org/3/movie/248507?api_key=###&language=fr

and part of response:

"overview":"Romain Faubert is a 39 year old, single, medical photographer... and a raging hypochondriac. His doctor and only friend Dr. Dimitri Zvenka thinks he knows the cure for Romain: dating! But with the arrival of freedom fighter Anton Miroslav, everyone might get more then they bargained for..."

OK, my curl command just needed some quotes to include the "&" correctly - sorry.

curl "https://api.themoviedb.org/3/movie/248507?api_key=###&language=fr"

is OK

No problem, happy to hear you figured it out.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login