Assistance de TMDB

https://api.themoviedb.org/3/movie/{movie_id}/credits?api_key=<>&language=en-US

ABOVE LINK IS NOT WORKING TO FETCH ALL CREDITS OF MOVIE AS PER movie_id

9 réponses (sur la page 1 sur 1)

Jump to last post

@vivekpawar.data said:
Movie Credits
https://api.themoviedb.org/3/movie/{movie_id}/credits?api_key=<>&language=en-US
ABOVE LINK IS NOT WORKING
TO FETCH ALL CREDITS OF MOVIE AS PER movie_id

Please post a complete example here, with the Movie ID.

Problems with API Request

In order for someone to help you with API Request questions,
it is critical that you post here the API Request you are sending to the TMDb server.
Remember to replace your Key with MY_KEY , YOUR_KEY , THE_KEY , or something like that.

Not the programming code you used to build the API Request.
But the API Request that is sent to the TMDb server.
Or the API Request you would like to send.

i don't want to fetch credit for single movie i want it for all movies

@vivekpawar.data said:
i don't want to fetch credit for single movie
i want it for all movies

I repeat.
You stated that an API Request did not work correctly.
Then post here the API Request that didn't work properly.

https://api.themoviedb.org/3/movie/{movie_id}/credits?api_key=<>&language=en-US

Error: Network Error

Check the developer tools console, it might have more information on the error.

GETTING THIS ERROR

{"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}

@vivekpawar.data said:
https://api.themoviedb.org/3/movie/{movie_id}/credits?api_key=<>&language=en-US
Error: Network Error
Check the developer tools console, it might have more information on the error.

This API Request must contain the Movie ID, and is missing the Movie ID.
What data did you expect to receive with this Request?

@vivekpawar.data said:

GETTING THIS ERROR

{"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}

Take a Test

Click to go to your Profile > API: https://www.themoviedb.org/settings/api
At the bottom of the page, below, you'll find the Example API Request.
https://api.themoviedb.org/3/movie/550?api_key=THE_KEY
Use this example to do a search using a new tab in your browser.
You will receive the basic data of the Movie Fight Club (1999)
https://www.themoviedb.org/movie/550-fight-club
If it works, your Key is OK.

When there is a problem, the TMDb Server sends a message.
Can you tell which message the server sent?
Here is a list of possible messages:
https://www.themoviedb.org/documentation/api/status-codes

If it does not work, let us know right here.

Yes i have taken test it works but i getting status code 34 as error

@vivekpawar.data said:
Yes i have taken test it works

Excellent

but i getting status code 34 as error

This error 34 refers to:

34  401     The resource you requested could not be found.  

I repeat, post here the API Request you are sending to our server.

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