Hi,
I'm new to the TMDb API and noticed that the /movie/upcoming endpoint returns 0 entries for NZ region, while the https://www.themoviedb.org/movie/upcoming?language=en with Filter set to New Zealand, returns a few entries. Can someone point me to the direction as to how to get similar results from the API? Looking into the individual movies, I noticed that they don't have a release date for NZ region, although the website doesn't seem to have an issue with it.
Also I noticed that the /movie/upcoming also defaults to a date range I cannot change. Is there another endpoint that allows me to get the same data with a custom date range? My use case is that I would like to get movies released in the time range from "few days ago" to "relesing this month" type of a query. I have briefly looked into the Discover movies endpoint, but it also returns nothing for NZ region and I'm a bit confused with primary release date and release date.
Thanks
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on February 13, 2017 at 9:52 AM
Hi @madushan
Indeed, some countries might not have any release dates added. On the website, I map some groups of countries together, and I believe New Zealand is mapped together with Australia. So specifying
NZ|AU
would be the same as I am doing on the website.If you want to do anything custom like that, you should use the /discover/movie method. Upcoming is actually a discover call, so feel free to tweak some of the filters to your liking.
If you're specifying a region, you won't find much with the
primary_release_date
filter. Stick with therelease_date
. Now, having said that, lots of countries might not be all that filled out so your mileage may vary. TryNZ|AU
and see if it's better.Reply by Mathew Foscarini
on February 13, 2017 at 12:05 PM
Does the API support multiple regions in a single request?
Reply by Travis Bell
on February 13, 2017 at 12:18 PM
Discover and search supports querying multiple regions, yes. It's the same format as all of the filters that support multiple options,
|
and,
.Reply by madushan
on February 14, 2017 at 4:43 AM
Thanks @travisbell
Using region NZ|AU provides better results for me. Looking at the current cinema websites, it is still a fraction of what they have (and some false positives as some AU releases hasn't reached NZ), since most movies they show doesn't have a NZ release date and not necessarily an AU release date either.
Although I think most release dates for NZ are also lacking in IMDb as well.
Reply by Mathew Foscarini
on February 14, 2017 at 8:19 AM
Where does the release data originate from?
Is it all user input data or does it come from a third-party source?
Reply by Travis Bell
on February 14, 2017 at 9:06 AM
All data on TMDb is user input. We don't import data from anywhere.
Reply by Mathew Foscarini
on February 14, 2017 at 9:55 AM
I found this website and it's been around for 10 years. Has release data for US and CA that appears accurate and updated daily.
http://www.the-numbers.com/
That only problem is they don't appear to have an API.
Reply by madushan
on February 15, 2017 at 6:41 AM
Doesn't appear to have a place where I can get release information per country/region (Unless you scrape the entire site and query that data yourself) And also the accuracy is still questionable. TMDb seems closer to reality, atleast at this point regarding NZ releases.
Reply by Mathew Foscarini
on February 15, 2017 at 9:12 AM
@madushan I found an API for their website. You can read more info here.
http://www.opusdata.com/
There is info on usage restrictions or sign up requirements. It's not as nice as TMDb :), but it's another option to look but if you're doing real-time API calls to TMDb then this might not be useful.
I can't find any reference to NZ releases, but there is a blog post from 2015 saying they've added Australia.
http://www.opusdata.com/news/new-on-opusdata-australian-box-office-charts
I can't say their data is better, but from their website.
I'm going to fill out the sign up form and see what happens.
When it comes to APIs you can never have to much data!
Reply by The_Unknown
on January 8, 2018 at 12:11 PM
Sorry to push this thread up again, but I think it's the correct place for my question:
I tried to query the series "Game of Thrones" for release dates. I'm interested in the German release dates. For some reason this doesn't work. I get the same "first_air_dates" with my requests:
Am I doing or expecting something wrong ? Are series seasons not supported by the region parameter?
Reply by Travis Bell
on January 8, 2018 at 1:11 PM
TV doesn't have any concept of regions for air dates at this time. We only support one air date and that is the original air date on the original network.
Reply by The_Unknown
on January 8, 2018 at 2:34 PM
Mhm, too bad :-( Especially the release dates for tv series differ very much in region :-( Are there at least any plans to change that in the future?
Reply by Travis Bell
on January 8, 2018 at 3:02 PM
There is plans to add multiple air dates but it's a pretty big feature which is why it hasn't been started yet. I do not have an ETA at this time.