MoviesDatabase

免费增值
通过 Adriano Massimo | 已更新 месяц назад | Movies
人气

9.9 / 10

延迟

375ms

服务等级

100%

Health Check

N/A

返回所有讨论

About pages... and one more thing...

Rapid account: Tom Nyc
TomNyc
2 месяца назад

Hi!
Is there a way that I can get all pages in 1 response for a specific query search? Or I can only do it one by one - (get page 1 -> check if key “next” is not null, if not -> get second query for page 2, and so forth).

I’m using /titles/search/title/{title} for searching movies (with optional parameter “exact=false”). And for most part it works fine, however when I tried to search movie “It” (typed lowercase - “it”), there was no results (0 entries). Only way I could managed to find that movie is by changing option “exact” to “true” and typed in exact match -> “It”. It’s because title is so short or there is some bug or there is some other cause?

Thanks!

Rapid account: S Adrian
SAdrian Commented 2 месяца назад

Hi,

You can try increasing the limit parameter, max limit is 50. The short answer is no, because you can end up with thousands of title in one response, and that will be to heavy.

Searching with exact=false can produce results like this with 1-3 characters, it is a bug of the current implementation of the search. We have this on our fix list together with
case insensitivity with exact=true and pre sorting results with exact=false based on title popularity.

Thanks,
AM

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论