Sprijin Bază de date filme (The Movie Database)

Hello,

I am currently using the API and multiple users will use it from around the world. It seems that the "/movie/upcoming" request returns the release_date but the release date is always the US date it seems.

How can I change this?

10 răspunsuri (pe pagina 1 din 1)

Jump to last post

It seems like you have to make a request to /movie/{id}/releases and pull the data from there.

Hi tidusjar,

At this time, our upcoming and now playing methods do not support querying by, or returning country specific information. The dates returned here are the same as everywhere else, the release date marked as "primary".

Cheers.

Thank you for the replies. How am I able to get release dates per country? Because my website is primary aimed at the UK market and the release dates are off :( For example, now playing has said that Jurassic World was released today, but it came out yesterday.

Can you suggest a work around?

Can I request for this feature to be added Travis?

Hi Jamie,

I have an open ticket for supporting locale's on the now playing and upcoming methods here. This will be a lot more of a reality once ticket #527 on the website is completed as well. Basically, release dates need to be completely re-factored before anything like this can be very useful

Travis, Thank you for the reply with the ticket information. These tickets have been open for a very long time. Is there going to be a resolution for them this year?

I plan to get to them this year. As TMDb has grown almost every part of our DB has been re-written and one of the only pieces that is still basically original (all the way back to 2010) is release dates. Truthfully, ticket #527 is actually a higher priority than #176 but lucky for you, once #527 is done, #176 will be just a new query filter behind the scenes which is to say, a 5 minute fix ;)

That is excellent. Thank you. I have a watch on both tickets so I hope to see some changes in the near future :)

Hi @tidusjar Sorry to resurrect an old thread but I thought I'd let you know that filtering by region and release type has been pushed live. You can read more about this on the blog.

@travisbell Thanks for the update! I'll take a look at implementing that now :)

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare