unogsNG

フリーミアム
よって Admin | 更新済み 4일 전 | Media
人気

9.7 / 10

レイテンシー

372ms

サービスレベル

100%

Health Check

N/A

すべてのディスカッションに戻る

need help using the query parameter correctly

Rapid account: Stuartcrawford

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}'
`

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿