I am trying to receive crew data for this show but it's an empty array whilst the cast array has items.
"https://api.themoviedb.org/3/tv/4614?api_key={key}&append_to_response=images,credits" works but gives me empty crew data.
"https://api.themoviedb.org/3/tv/4614/credits?api_key={key}" also works but gives me empty crew data.
"https://api.themoviedb.org/3/tv/4614?api_key={key}&append_to_response=credits" gives me a 502 Bad Gateway.
Just been referred to here from the main website, but seeing there is a overhaul… not sure if it's necessary to notify anyone here.
Let me know if you need any additional information.
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от Travis Bell
, 27 мая 2020 в 10:44
The default query for the API cast & crew is to look at the last season. As you can see here, season 17 of NCIS doesn't have any crew added.
The view you see here on the website is a bit different. It's aggregating the cast & crew for the whole series. This feature hasn't been implemented on the API yet. You can find the ticket tracking this here.
Ответ от Stoney Eagle
, 27 мая 2020 в 12:38
Shouldn't be hard to aggregate in my own database. I see that the 502 is fixed now.
Thanks for the info. If you need someone who's very picky let me know if you need a tester
Ответ от Stoney Eagle
, 30 мая 2020 в 21:53
I am going to leave this here for anyone using the Laravel framework.
Add this to your TV model.