The Movie Database サポート

Hi.

https://developers.themoviedb.org/3/search/search-collections

I get the collection code in this link.

https://api.themoviedb.org/3/search/collection?api_key="key"&language=en-US&query=9485&page=1

The final version of the link is like this. But it finds no results.

6 replies (on page 1 of 1)

Jump to last post

This API query try to find a collection that include the "9485" text in its name.

If you want to find the collection "The Fast and the Furious Collection" which have the Id 9485, you need to put the name of the collection or a part of it (URI encoded) to search for it.

Or, if you want directly obtain the detail of this collection directly use the collection method with the Id, instead of the search collection.

Can you give an example?

Also, can we search for collections by ID number?

@melihonline said:

Can you give an example?

https://api.themoviedb.org/3/collection/9485?api_key="key"&language=en-US

Also, can we search for collections by ID number?

No, you can't search for collections by ID number, as the main use of the search is to obtain the Id Number of the collection.

Thanks for your reply, @superboy97. I also have the same need as @melihonline. So, as of today, you confirm that there is no way to get collections in which a film is included by searching for the film ID?

@Wiccio said:

So, as of today, you confirm that there is no way to get collections in which a film is included by searching for the film ID?

Why do you want to do a search if you already have the movie Id ?

The above discussion was about searching a collection with the collection Id.

As explained in this previous discussion, the collection it belongs to is directly available in the movie details.

Because I'm writing a bot for Wikidata, which cycles through all the film IDs in TMDb. Uh, thanks for this link and this information; I didn't realise that the collection ID is listed on the films page accessible via the API. In that case, I've solved it, thank you very much! ;-)

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

全般

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

メディアのページ

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

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

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

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

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

全ての画像のページ

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

全ての編集ページ

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

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

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

設定

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

ログイン

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

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