Is there a way to get list of movies for a selected actor/actress?? https://api.themoviedb.org/3/movie/?api_key=
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de superboy97
le 12 avril 2025 à 01h13
You need to use
Réponse de robert3237
le 12 avril 2025 à 01h35
how to get {person_id}?? can i type in a combobox and return name and id???
Réponse de superboy97
le 12 avril 2025 à 01h37
You should use this search method.
Réponse de robert3237
le 12 avril 2025 à 01h50
i tried this and it return nothing:: this: {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false} https://api.themoviedb.org/3/search/person?query=Mark%20Wahlberg?api_key=<>
Réponse de superboy97
le 12 avril 2025 à 01h52
You need to include your API key while calling the method.
Réponse de robert3237
le 12 avril 2025 à 01h52
i have. just did not show it here!
Réponse de superboy97
le 12 avril 2025 à 01h55
The error message indicate that you did not enter it correctly.
EDIT : I just see your error. You should use "&" between the parameters, "?" should only be used before the first parameter.
Réponse de robert3237
le 12 avril 2025 à 01h59
appreciate your help!!! here is string: https://api.themoviedb.org/3/search/person?query=Mark%20Wahlberg&api_key=0c3840bfedc what i really need is either all movies he has been in, or retrieve entered actor/actress ID??? is there a way to enter name, and get ID. then i can use your previous answer. People - Movie Credits if you want just the movies People - TV Credits if you want just the TV series People - Combined credits if you want them all
thanks again!
Réponse de superboy97
le 12 avril 2025 à 02h08
In the answer of that call, you will get the Id that you can use in the other methods.
Réponse de robert3237
le 12 avril 2025 à 02h38
Thanks superboy97. here is string that returns the ID, and now it returns the movies (1) page only/?? Dim url As String = $"https://api.themoviedb.org/3/search/person?api_key={TMDBApiKey}&query={Uri.EscapeDataString(query)}"
Réponse de superboy97
le 12 avril 2025 à 02h40
All is explained in the given documentation pages.