Υποστήριξη για το The Movie Database

I have been trying to create the query for getting a list of all actors actresses but can't seem to get it right. Also with the query to getting images for this data I follow the query provided: http://private-5d627-themoviedb.apiary-mock.com/3/person/images and then adding on my key but only get one response of Brad Pitt. Why does this query only give me Brad Pitt, how do I get every actor/actress? Thank you in advance.

7 απαντήσεις(στη σελίδα 1 από 1)

Jump to last post

Hi jrichardson,

You should probably switch to the production address, api.themoviedb.org if you are wishing to query real world results. Apiary is a development and testing tool.

You can search for an actor like so:

https://api.themoviedb.org/3/search/person?api_key=###&query=bruce+willis

Get an id from your search (62 in Bruce Willis’ case) and query the main person details and append the images response so it’s all in one query):

https://api.themoviedb.org/3/person/62?api_key=###&append_to_response=images

Cheers.

How about a query getting all actors and actresses?

There is no such query. You would have to iterate through all of the IDs yourself starting at 1, and ending at the is returned in the /person/latest method.

So which documentation should I be following? Since the documentation provided was pretty unclear? To get a different person I would need to change the 62 to another number? What is the highest number? Thank you for the information has been very helpful.

You would want to start at id 1, and then you can pull the latest if from the /3/person/latest method.

Hi,

I want to get all movies with particular actor/actroess with your api. So please let me know is it possible if yes then how. Its urgent.

Thanks in advance.

To get the list of movie credits, call the movie_credits method on a person.

https://api.themoviedb.org/3/person/287/movie_credits?api_key=###

You can call all of their credits by calling the combined_credits method:

https://api.themoviedb.org/3/person/287/combined_credits?api_key=###

As always, the documentation is the best place for information: http://docs.themoviedb.apiary.io

Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.

Σε όλες τις σελίδες

s Εστίαση στη μπάρα αναζήτησης
p Άνοιγμα μενού προφίλ
esc Κλείσιμο ανοιχτού παραθύρου
? Άνοιγμα παραθύρου συντομεύσεων πληκτρολογίου

Στις σελίδες μέσων

b Επιστροφή στην προηγούμενη σελίδα(ή στην αρχική σελίδα όταν είναι εφικτό)
e Μετάβαση στη σελίδα επεξεργασίας

Στις σελίδες κύκλων σειρών

(Δεξιό βέλος) Μετάβαση στον επόμενο κύκλο
(Αριστερό βέλος) Μετάβαση στον προηγούμενο κύκλο

Στις σελίδες επεισοδίων σειρών

(Δεξιό βέλος) Μετάβαση στο επόμενο επεισόδιο
(Αριστερό βέλος) Μετάβαση στο προηγούμενο επεισόδιο

Σε όλες τις σελίδες εικόνων

a Άνοιγμα παραθύρου προσθήκης εικόνας

Σε όλες τις σελίδες επεξεργασίας

t Άνοιγμα επιλογέα μετάφρασης
ctrl+ s Υποβολή φόρμας

Στις σελίδες συζήτησης

n Δημιουργία νέας συζήτησης
w Ρύθμιση κατάστασης παρακολούθησης
p Ρύθμιση ως δημόσια/ιδιωτική
c Ρύθμιση ανοίγματος/κλεισίματος
a Άνοιγμα δραστηριότητας
r Απάντηση στη συζήτηση
l Μετάβαση στην τελευταία απάντηση
ctrl+ enter Υποβολή μηνύματος
(Δεξιό βέλος) Επόμενη σελίδα
(Αριστερό βέλος) Προηγούμενη σελίδα

Ρυθμίσεις

Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;

Σύνδεση