If you are going to use region you should switch to release_date.gte/release_date.lte. That’s how you filter by regional releases. One of the queries you posted above this one is using primary_release_date.xxx.
Vai em inglês porque a explicação já tá pronta. :-)
Primary Release Date versus Release Date
primary_release_date= is the date chosen by the TMDb system to be the official release date for a Movie. World Premiere.
This date determines the year that appears in parentheses next to the film's title on the film's page.
release_date= are all the release dates of a Movie in each and every country in the world, over time,
including premieres, festival, on television, in Bluray or DVD, digital media, etc ...
A movie can only have one primary_release_date
But it can have several and countless release_date
A different opening date for each country, for each media,
for open television, for cable TV, re-releases, 50th anniversary celebration, etc ... etc ... etc ...
If you are going to use region you should switch to release_date.gte/release_date.lte. That’s how you filter by regional releases. One of the queries you posted above this one is using primary_release_date.xxx.
Vai em inglês porque a explicação já tá pronta. :-)
Primary Release Date versus Release Date
primary_release_date= is the date chosen by the TMDb system to be the official release date for a Movie. World Premiere.
This date determines the year that appears in parentheses next to the film's title on the film's page.
release_date= are all the release dates of a Movie in each and every country in the world, over time,
including premieres, festival, on television, in Bluray or DVD, digital media, etc ...
A movie can only have one primary_release_date
But it can have several and countless release_date
A different opening date for each country, for each media,
for open television, for cable TV, re-releases, 50th anniversary celebration, etc ... etc ... etc ...
Reply by ticao2 🇧🇷 pt-BR
on December 27, 2024 at 7:26 AM
Maybe add the region= filter.
So I think it restricts premieres to a single country.
Reply by ThiagoMS
on December 27, 2024 at 8:28 AM
Perfect, i try something like these. So, is strange because the return is the same are something wrong?
https://api.themoviedb.org/3/discover/movie?include_adult=false&primary_release_date.gte=2025-01-01&primary_release_date.lte=2025-01-31&language=pt-BR&page=1®ion=BR
Reply by ThiagoMS
on December 27, 2024 at 8:29 AM
i spiko portugues também se quiser explicar em brasileiro :D
Reply by Travis Bell
on December 27, 2024 at 11:59 AM
If you are going to use
region
you should switch torelease_date.gte
/release_date.lte
. That’s how you filter by regional releases. One of the queries you posted above this one is usingprimary_release_date.xxx
.Reply by ticao2 🇧🇷 pt-BR
on December 27, 2024 at 1:29 PM
Vai em inglês porque a explicação já tá pronta. :-)
Primary Release Date versus Release Date
primary_release_date= is the date chosen by the TMDb system to be the official release date for a Movie. World Premiere.
This date determines the year that appears in parentheses next to the film's title on the film's page.
release_date= are all the release dates of a Movie in each and every country in the world, over time,
including premieres, festival, on television, in Bluray or DVD, digital media, etc ...
A movie can only have one primary_release_date
But it can have several and countless release_date
A different opening date for each country, for each media,
for open television, for cable TV, re-releases, 50th anniversary celebration, etc ... etc ... etc ...
Então é como o Travis Bell explicou.
Use a Primary se vc quer a Estreia Mundial.
E use a Release Date se quer a local, de um paÃs especÃfico.
Mas aà precisa especificar qual é o paÃs, usando região=.
Reply by ThiagoMS
on December 27, 2024 at 2:44 PM
perfect, thanks for explain
Reply by ThiagoMS
on December 27, 2024 at 2:44 PM
Show, vou tentar isso também pra ver se consigo um novo resultado :D