תמיכת The Movie Database

Hi guys, thanks for your amazing work. The endpoint upcoming is returning old data, I know release date is different for each country, but i'm getting like film 50 years old, or 25 years old, or from the last year. I leave a LINK to show to you the log (title is title|originaltitle and date is releasedate).

I know I could use the discover endpoint, but it's a bit more tricky. Thanks.

6 תגובות (בדף 1 מתוך 1)

Jump to last post

I checked the first 5 of these movies and they appear correct :

The upcoming endpoint check all the release dates listed for each movie.

thanks for the reply, so if I'd like to get the first 20 upcoming movie in US, which original release date (mean no re-release or something similar) is bigger then today, how to do it? I'm pretty confused

You need to use discover

  • either with check on the primary_release_date to only check the first release date
  • or a region parameter and with check on the release_date to only check on all the dates in a specific region.

I'm not sure that you can combine the 2.

@c-gian said:
upcoming endpoint return film really old
Hi guys, thanks for your amazing work.
The endpoint upcoming is returning old data,
I know release date is different for each country, but i'm getting like film 50 years old, or 25 years old, or from the last year.
I leave a LINK to show to you the log (title is title|originaltitle and date is releasedate).
I know I could use the discover endpoint, but it's a bit more tricky.
Thanks.

and

thanks for the reply,
so if I'd like to get the first 20 upcoming movie in US,
which original release date (mean no re-release or something similar) is bigger then today,
how to do it? I'm pretty confused

I think you didn't specify the Region value.
Try this:

https://api.themoviedb.org/3/movie/upcoming?language=en-US&page=1&region=US  

This should eliminate movies released in other countries.
But it won't eliminate re-releases in your country, US.
To eliminate re-releases, just use Discover with the &with_release_type= filter.
I think with parameters 3|2
&with_release_type=3|2

*Movie Release Type* (with_release_type string)
ID  Release Type
1   Premiere
2   Theatrical (limited)
3   Theatrical
4   Digital
5   Physical
6   TV

It's important to note the order of the release types that are used.
Specifying 2|3 would return the limited theatrical release date as opposed to 3|2 which would return the theatrical date.

@ticao2 said:

To eliminate re-releases, just use Discover with the &with_release_type= filter.
I think with parameters 3|2
&with_release_type=3|2

This will not eliminate theatrical re-release like the Wicked case in its original list of movies.

@superboy97 said:

@ticao2 said:

To eliminate re-releases, just use Discover with the &with_release_type= filter.
I think with parameters 3|2
&with_release_type=3|2

This will not eliminate theatrical re-release like the Wicked case in its original list of movies.

Yes.
We do not have a separate re-release from a release.
I also don't know if using the &year filter, or delimiting the time using &primary_release_date.gte and &primary_release_date.lte can solve the problem.
Only the user can find out by testing.


EDIT
Maybe in Wicked's case it will work.
The re-release is as 2 Theatrical (limited)
So it should get 3 Theatrical

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס