MoviesDatabase

פרמיום
על ידי Adriano Massimo | מְעוּדכָּן vor einem Monat | Movies
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

370ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

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

Rapid account: Tom Nyc
TomNyc
vor 2 Monaten

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 vor 2 Monaten

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

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות