So say I make this call:
https://api.themoviedb.org/3/discover/movie?api_key=###&language=en-US®ion=US&sort_by=primary_release_date.asc&include_adult=true&include_video=false&page=1&primary_release_date.gte=2017-02-02&primary_release_date.lte=2017-03-02&with_release_type=3
What I'm trying to do is find movies that are currently in theaters in the US, but since I'm using the region query should I sort and limit by release date or primary release date? I'm kinda really confused as to the real difference between release date and primary release date. I'm also confused as to the difference between a limited theatrical release and a normal theatrical release. If anyone could provide some more insight into these two things that would be greatly appreciated!
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Travis Bell
il 16 febbraio, 2017 alle 10:42PM
Primary release date is a single date value based on all of the release dates we have added. As such, using it with the
region
filter would make it pretty useless. When using theregion
filter you should use therelease_date
filters.With regards to limited vs. theatrical, this is a difference between the way movies often get released in theatres. A recent one that comes to mind was The Hateful Eight. There was a limited release they did a week before it opened up wide across the U.S./Canada. I would generally say just use both,
&with_release_type=3|2
.Risposta da Matrix159
il 16 febbraio, 2017 alle 10:44PM
Alright thanks!
Risposta da Matrix159
il 16 febbraio, 2017 alle 10:52PM
So after switching to using release_date for all filters and sorting and using the constraints 2017-02-02 < x < 2017-03-02 I'm getting movies with release dates from 1995, any insight into that?
Risposta da Travis Bell
il 16 febbraio, 2017 alle 10:58PM
There must be some release dates with the release_type you specified added. Only way to fix that would be to fix the data.
Risposta da Matrix159
il 16 febbraio, 2017 alle 11:08PM
Ah the movie showing up has two release dates October 10, 1995 and February 7, 2017, would removing the region query and just specifying with_original_language=en while using primary release date be a better option to find new movies then?
Risposta da Travis Bell
il 16 febbraio, 2017 alle 11:09PM
Primary release date will have other problems, like not showing movies that were released in Europe months ago, or vice versa if you were in Europe with U.S. releases.
Bad data, is bad data though. One of those dates isn't right, we should fix it there. What movie is this?
Risposta da Matrix159
il 16 febbraio, 2017 alle 11:14PM
What if you don't need other country releases though? And oh okay, I thought when you said the only way to fix it was to fix the data I thought it was a done deal. Over the line is the movie in question though.
Risposta da Travis Bell
il 16 febbraio, 2017 alle 11:28PM
Ya, that 2017 release was bogus I believe. I deleted it. There will be bad data from time to time.
Risposta da Matrix159
il 16 febbraio, 2017 alle 11:30PM
Okay yeah I switched back to region based discovery because it works better (when there isn't bad data), so can any user change movie data is that what happens?
Risposta da Travis Bell
il 16 febbraio, 2017 alle 11:31PM
Yes, this is why we lock verified data but at this time, release dates don't have locks.
Risposta da Matrix159
il 16 febbraio, 2017 alle 11:35PM
Thanks! Well that clears up all the confusion as to why my results were skewed.