The Movie Database -tuki

Hi,

I'm facing some problems to get the movie's certification (BR). I'm appending the releases in_ Get Details (movie)_ to get the movie's certifications, however, i'm receiving null on certification field.

After some tests i figure out that when i set the language as "en-US" i get the certification normaly, but when i change the language (pt-BR) it comes null. I also tried to use Get Release Dates instead of appending releases _in the _Get Details but i didn't succeed.

Query i'm using in my application:

https://api.themoviedb.org/3/movie/299534?api_key=###&language=pt-BR&append_to_response=releases

Query that brings the certification (BR) values:

https://api.themoviedb.org/3/movie/299534?api_key=###&language=en-US&append_to_response=releases

ps: I'm setting the _language _ dynamically to get the data's translation.

Any suggestion?

TY.

5 vastausta (sivulla 1, sivuja yhteensä 1)

Jump to last post

I just went through a similar scenario with this param just today. My code is rather old and I saw this "releases" param and wondered if it even worked as it's not mentioned in the api docs anywhere I could find, less I missed it. When testing the response for US I got what I needed so I left it alone. Seems the way to retrieve certification is with the param "release_dates" so maybe I'm lucky that "releases" is working for US but may be phased out in time, or a hidden param not documented...not sure so I'm watching this thread myself.

After your reply i tried to execute my code again and now it's bringing the right values. I tested again with a new value for the certification field but it didn't update.

I don't know what happened before, maybe there is some kind of delay to update the data in the server. 🤔

The API caches data for 8 hours, so any changes you make on the website won't be immediately available.

/release was deprecated years ago, you should definitely update to use /release_dates since it holds all the up to date data and features.

So I think it was that.

I'll update my querys to release_dates, thank you for the advice.

had a hunch that param was old...time for an update and thank you for the confirmation

Etkö löydä elokuvaa tai TV-ohjelmaa? Kirjaudu sisään lisätäksesi se.

Koko sivustolla

s keskitä hakukenttään
p avaa profiilivalikko
esc sulje avoin ikkuna
? avaa pikanäppäinikkuna

Mediasivuilla

b palaa takaisin (tai hakemistoon mikäli mahdollista)
e siirry editoimaan sivua

TV-sarjan kausien sivuilla

(oikea nuolinäppäin) siirry seuraavaan kauteen
(vasen nuolinäppäin) siirry edelliseen kauteen

TV-sarjan jaksojen sivuilla

(oikea nuolinäppäin) siirry seuraavaan jaksoon
(vasen nuolinäppäin) siirry edelliseen jaksoon

Kaikilla kuvasivustoilla

a avaa "lisää kuva" ikkuna

Kaikilla muokkaus-sivuilla

t avaa kielivalinta
ctrl+ s Lähetä lomake

Keskustelu sivuilla

n luo uusi keskustelu
w vaihda seurannan asetus
p vaihda julkinen/yksityinen asetus
c vaihda avaa/sulje asetus
a avaa viimeaikainen toiminta
r vastaa keskusteluun
l siirry viimeisimpään vastaukseen
ctrl+ enter Lähetä viesti
(oikea nuolinäppäin) seuraava sivu
(vasen nuolinäppäin) edellinen sivu

Asetukset

Haluatko pisteyttää vai lisätä tämän nimikkeen listaan?

Kirjaudu

Ei rekisteröitynyt jäsen?

Rekisteröidy ja liity mukaan yhteisöön