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?
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Michael Destici
den 6 juni 2015 vid 7:57 PM
It seems like you have to make a request to /movie/{id}/releases and pull the data from there.
Svar från Travis Bell
den 7 juni 2015 vid 6:06 PM
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.
Svar från tidusjar
den 12 juni 2015 vid 3:58 AM
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?
Svar från tidusjar
den 12 juni 2015 vid 12:09 PM
Can I request for this feature to be added Travis?
Svar från Travis Bell
den 19 juni 2015 vid 11:13 AM
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
Svar från tidusjar
den 19 juni 2015 vid 11:16 AM
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?
Svar från Travis Bell
den 19 juni 2015 vid 11:20 AM
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 ;)
Svar från tidusjar
den 19 juni 2015 vid 11:25 AM
That is excellent. Thank you. I have a watch on both tickets so I hope to see some changes in the near future :)
Svar från Travis Bell
den 29 november 2016 vid 6:13 PM
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.
Svar från tidusjar
den 30 november 2016 vid 3:15 AM
@travisbell Thanks for the update! I'll take a look at implementing that now :)