The Movie Database サポート

Hello,

I want to filter movies by entering a partial or full movie name.

I am using a "discover" to fetch the movies and I want to add a search functionality as well. Since my get request is limited by dates "search/movie" doesn't work for me.

I found out that I can use "with_text_query" parameter for discover request but it doesn't work properly. For example if the user types "pool" it doesn't return "Deadpool & Wolverine". As far as I understand you need to provide the whole word. I read almost all the tickets in the forum but I can't solve the problem.

https://api.themoviedb.org/3/discover/movie?api_key=[your_api_key]&with_text_query=pool&page=1&sort_by=popularity.desc&primary_release_date.gte=2024-07-15&primary_release_date.lte=2024-08-05

Suggestion: Adding query parameter to discover to filter the movies by their titles would be absolutely great.

Is there anyone who can help me?

1 reply (on page 1 of 1)

Jump to last post

Hi @Kerem5070,

As you may have already gathered, the with_text_query filter on discover is unsupported, that is why it is not documented anywhere. There is not currently any plans to bring full search to discover.

Regarding your query though, I'm not sure who would enter "pool" while searching for Deadpool. Obviously entering "deadpool" works as expected:

https://api.themoviedb.org/3/discover/movie?api_key=###&with_text_query=deadpool&page=1&sort_by=popularity.desc&primary_release_date.gte=2024-07-15&primary_release_date.lte=2024-08-05

映画やテレビ番組が見つかりませんか?ログインして作成してください。

全般

s 検索バーに移動する
p プロファイルメニューを開く
esc 開いているウィンドウを閉じる
? キーボードショートカットウィンドウを開く

メディアのページ

b 戻る(または該当する場合は親に)
e 編集ページに行く

テレビ番組のシーズンのページ

(右矢印)次のシーズンに行く
(左矢印)前のシーズンに戻る

テレビ番組のエピソードのページ

(右矢印)次のエピソードに進む
(左矢印)前のエピソードに戻る

全ての画像のページ

a 画像追加ウィンドウを開く

全ての編集ページ

t 翻訳選択を開く
ctrl+ s フォームを送信する

ディスカッションのページ

n 新しいディスカッションを作成する
w 監視ステータスを切り替える
p 公開/非公開を切り替える
c 閉じる/開くを切り替える
a アクティビティを開く
r ディスカッションに返信
l 最後の返事に行く
ctrl+ enter メッセージを送信する
(右矢印)次のページ
(左矢印)前のページ

設定

このアイテムを評価したり、リストに追加したりしたいですか?

ログイン

メンバーではありませんか?

登録してコミュニティに参加