unogsNG

FREEMIUM
(Ким) Admin | Оновлено 4日前 | Media
Популярність

9.7 / 10

Затримки

372ms

Рівень обслуговування

100%

Health Check

N/A

Повернутися до всіх обговорень

need help using the query parameter correctly

The documentation on the endpoint page says that the query parameter “can be any string you want to search for”. So I tried to search for content by David Tennant, and the beginning of my query string looks like this: q=David%20Tennant

If I sort by Relevance, I certainly do see films starring David Tennant. But the API seems to treat the query parameter as an “OR” in the sense that it returns all films with either “David” or “Tennant” in the title, synopsis or cast. So I end up with titles starring David Spade, titles entitled “David Gale” etc.

Is there a way to request that the search is made for “David” AND “Tennant”?

Rapid account: Stuartcrawford
stuartcrawford Commented 2年前

I was hoping to be able to issue a single query that would allow me make a request that would (for example) search for movies made since 1993 that are comedies from the UK and list David Tennent in the title, synopsis or cast. Unfortunately, when I try that the result I get shows results with either “David” or “Tennant” in the title, synopsis or cast

Rapid account: Unogs
unogs Commented 2年前

There is a separate endpoint for searching for people…

`
curl --request GET \
--url 'https://unogsng.p.rapidapi.com/people?name=david%20tennant' \
--header 'x-rapidapi-host: unogsng.p.rapidapi.com' \
--header 'x-rapidapi-key: ${APIKEY}'
`

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення