Axuda de The Movie Database

Hello everyone,

I don't know if it's normal but I figured out that the region parameter was not working with a Details request. Example https://api.themoviedb.org/3/movie/799766?api_key=x&language=fr-FR&region=FR => "release_date": "2024-12-14"

But it's working fine with multi and search requests. Example https://api.themoviedb.org/3/search/multi?api_key=x&language=fr-FR&query=Better%20Man&page=1&region=FR => "release_date": "2025-01-22"

Thanks for your help!

1 resposta (na páxina 1 de 1)

Jump to last post

@Odyrac said:
"region" paramater is not working with Details request
Hello everyone,
I don't know if it's normal but I figured out that the region parameter was not working with a Details request.
Example
https://api.themoviedb.org/3/movie/799766?api_key=x&language=fr-FR&region=FR
=> "release_date": "2024-12-14"

But it's working fine with multi and search requests.
Example
https://api.themoviedb.org/3/search/multi?api_key=x&language=fr-FR&query=Better%20Man&page=1&region=FR
=> "release_date": "2025-01-22"

Thanks for your help!

The Movie Details API Request does not use the &region parameter.
See here.
https://developer.themoviedb.org/reference/movie-details
There are 3 parameters.

  1. movie_id - int32 - required
  2. append_to_response - string
  3. language - string

The date provided for the movie is the worldwide release date.
In this case, the date for Australia.
If you want the date for your country, you must use the append_to_response resource.
https://developer.themoviedb.org/docs/append-to-response
Requesting release-dates
https://developer.themoviedb.org/reference/movie-release-dates

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión