The Movie Database Подршка

Hello all,

I am looking into this api since id like to retrieve all movies that are coming up in a date range but only coming up in cinemas not on cloud platform such as netflix or something like this.

here is my api call

https://api.themoviedb.org/3/discover/movie?include_adult=false&include_video=false&language=en-US&page=1&primary_release_date.gte=2024-06-01&primary_release_date.lte=2024-07-01&sort_by=popularity.desc&with_release_type=3

so if i understood well the release type 3 is for theatrical release which is i think what I am looking for.

When i do this request I have some movies still that are coming up on cloud platform.

exemple run this query and you will find this movie:

"id": 1263421,
      "original_language": "ja",
      "original_title": "範馬刃牙VSケンガンアシュラ",
      "overview": "It's the ultimate showdown. The toughest fighters from \"Baki Hanma\" and \"Kengan Ashura\" clash in this unprecedented, hard-hitting martial arts crossover.",
      "popularity": 45.585,
      "poster_path": "/etbHJxil0wHvYOCmibzFLsMcl2C.jpg",
      "release_date": "2024-06-05",
      "title": "Baki Hanma VS Kengan Ashura",
      "video": false,
      "vote_average": 0,
      "vote_count": 0

which is on Netflix not on cinema if I am not mistaken.

also for this movie:

"id": 519182,
      "original_language": "en",
      "original_title": "Despicable Me 4",
      "overview": "Gru and Lucy and their girls — Margo, Edith and Agnes — welcome a new member to the Gru family, Gru Jr., who is intent on tormenting his dad. Gru faces a new nemesis in Maxime Le Mal and his femme fatale girlfriend Valentina, and the family is forced to go on the run.",
      "popularity": 168.134,
      "poster_path": "/7Zxzf5CkEQHJHbi2IR10D9WmKJF.jpg",
      "release_date": "2024-06-27",
      "title": "Despicable Me 4",
      "video": false,
      "vote_average": 0,
      "vote_count": 0

i made quick research and the release date is wrong it should be 3rd july 2024 no ?

can you help me understand those two issue and maybe help me to fix my query so I can retrieve just what I want ?

2 одговора (на страни 1 од 1)

Jump to last post

Hi @audricB,

If you want to search by release_type, you'll need to switch to using and release_date.gte / release_date.lte. What you're doing, by using primary_release_date is skipping anything to do with a release type.

https://api.themoviedb.org/3/discover/movie?language=en-US&page=1&release_date.gte=2024-06-01&release_date.lte=2024-07-01&sort_by=popularity.desc&with_release_type=3

This query will search all worldwide theatrical dates. If that's not what you want, add a region filter.

https://api.themoviedb.org/3/discover/movie?language=en-US&page=1&release_date.gte=2024-06-01&release_date.lte=2024-07-01&sort_by=popularity.desc&with_release_type=3&region=US

Thank you now it's working better ! Maybe you should write this into the documentation because it's not very clear that those two field cannot work together.

Не можеш да нађеш филм или серију? Пријави се да додаш.

Глобално

s фокусирај траку за претрагу
p отворите мени профила
esc затворити отворени прозор
? отвори прозор пречице на тастатури

На страницама медија

b вратити се назад (или родитељу кад је то применљиво)
e иди на страницу за уређивање

На страницама ТВ сезона

(стрелица надесно) пређите на следећу сезону
(лева стрелица) иди на претходну сезону

На страницама ТВ епизода

(стрелица надесно) пређите на следећу епизоду
(лева стрелица) иди на претходну епизоду

На свим страницама са сликама

a отвори прозор за додавање слике

На свим страницама за уређивање

t отвори селектор превода
ctrl+ s пошаљи образац

На страницама за дискусију

n отвори нову дискусију
w мења статус гледања
p мења јавно/приватно
c мења отвори/затвори
a отвори активност
r одговор на дискусију
l иди на последњи одговор
ctrl+ enter пошаљи поруку
(стрелица надесно) следећа страница
(лева стрелица) претходна страница

Подешавања

Желите ли да оцените или додате ову ставку у листу?

Пријави се