The Movie Database 支持

How can I get results other than 10,000 movies? On page 501, I get the error "page must be less than or equal to 500".

How can I follow steps to get full database access?

6 回复(第 1 页,共 1 页)

Jump to last post

@oraycan said:
page must be less than or equal to 500
How can I get results other than 10,000 movies?
On page 501, I get the error "page must be less than or equal to 500".

The number/quantity of Items per Page and the number/quantity of Pages
cannot be changed, configured, specified, restricted, or anything like that.
There will always be up to 20 items per page.
And a maximum of 500 pages.
Therefore, at most 10,000 items.

Of course, depending on the parameters used in your API Request
this number/quantity can be much smaller.
Eventually zero.

In a Trending API Request, the quantities are greater.
A maximum of 1,000 pages
Therefore a maximum of 20,000 items

How can I follow steps to get full database access?

I believe that only if you make several API Requests.
For example, for decades.

https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&sort_by=release_date.asc&page=1&primary_release_date.gte=1860-01-01&primary_release_date.lte=1910-12-31  

If I'm not mistaken the movie count must be over 650,000.

Depending of the data wanted, the daily export file may be a solution.

correct. you can decrease the date range and try. try for 6 months or 1 year range.

in my response

"total_pages": 38878,
"total_results": 777547

and when i access last page says me, must be less than 500, and my response says last page is more than 500!

@Karim007 said:

in my response

"total_pages": 38878,
"total_results": 777547

and when i access last page says me, must be less than 500, and my response says last page is more than 500!

The result of your search indicate the total number of pages, but you can only access the first 500 pages.

@superboy97 said:

@Karim007 said:

in my response

"total_pages": 38878,
"total_results": 777547

and when i access last page says me, must be less than 500, and my response says last page is more than 500!

The result of your search indicate the total number of pages, but you can only access the first 500 pages.

Why is That

找不到电影或节目?登录并创建它吧。

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区