House of the dragon credits are missing all the cast in the API, however the cast is showing on the tmdb frontend, not sure what's happening
curl --request GET \
--url 'https://api.themoviedb.org/3/tv/94997/credits?language=en-US' \
--header 'Authorization: Bearer ey...' \
--header 'accept: application/json'
Response:
{
"cast": [],
"crew": [
{
"adult": false,
"gender": 2,
"id": 1914415,
"known_for_department": "Crew",
"name": "Paul Biddiss",
"original_name": "Paul Biddiss",
"popularity": 4.91,
"profile_path": null,
"credit_id": "65d5f32c6097500185237cde",
"department": "Crew",
"job": "Military Consultant"
},
...
],
"id": 94997
}
website: https://www.themoviedb.org/tv/94997-house-of-the-dragon
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Travis Bell
στις 22 Μάιος 2024 στις 02:45 ΜΜ
You’ll want to use the aggregate credits method. The plain credits method only returns the latest season which in this case hasn’t been filled out yet.
Απάντηση από τον/την superboy97
στις 22 Μάιος 2024 στις 02:47 ΜΜ
If you want all the credits, like on the frontend, you should use aggregate_credits.
With credits, you only get the credits of the last season.
Απάντηση από τον/την joaosardinha
στις 22 Μάιος 2024 στις 03:20 ΜΜ
Ahh yeah that's what I need, thanks both,
Just noticed the credits page does have a note about this