Assistance de TMDB

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 réponses (sur la page 1 sur 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! ;-)

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion