The Movie Database Support

Hello! I'm pretty new here and I wanted to ask if I can sort the upcoming movies by release date? First, I get the data for upcoming movies from GET /movie/upcoming, but the query is kinda messed up. I found out I can sort queries from GET /discover/movie, but it gives me some 80s-90s movies and I can't figure out how can I put my query with upcoming movies so I can sort them? Thank you!

5 replies (on page 1 of 1)

Jump to last post

Hi @martoraneca,

I think I answered this question in this post here: https://www.themoviedb.org/talk/5a3bb25ec3a368148f0959d0

If you mean something else let me know but I think it's the same.

Im trying to sort the upcoming movies api by release date by a certain time period- for example - films that are coming in the next 3 months etc

Is this possible?

@KinesisInteractiveDesign said:
Im trying to sort the upcoming movies api by release date by a certain time period-
for example - films that are coming in the next 3 months etc
Is this possible?

Yes, it is possible.
Use the release_date.gte and release_date.lte filter parameters.
So you can specify a time interval for your Region, your country.
See here: https://developers.themoviedb.org/3/discover/movie-discover

@ticao2 said:

@KinesisInteractiveDesign said:
Im trying to sort the upcoming movies api by release date by a certain time period-
for example - films that are coming in the next 3 months etc
Is this possible?

Yes, it is possible.
Use the release_date.gte and release_date.lte filter parameters.
So you can specify a time interval for your Region, your country.
See here: https://developers.themoviedb.org/3/discover/movie-discover

Thanks. that worked

Also what is the full path of the posters? "poster_path": "/nphsStbtAuJ2IaXtCvDXDwMUF5N.jpg",

its not this https://api.themoviedb.org/nphsStbtAuJ2IaXtCvDXDwMUF5N.jpg

Hi @KinesisInteractiveDesign, you can rad about to generate valid image URLs here.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Want to rate or add this item to a list?

Login