The Movie Database Support

I am trying to get the actors for the TV-series Twin Peaks, I'm using this:
http://www.shbhawani.com/3/tv/1920?api_key=###&append_to_response=credits

But I only get one person listed in the cast (actor), many persons in the crew.
Am I doing something wrong, or is this a bug in the API?

3 replies (on page 1 of 1)

Jump to last post

@SweWolf said:
Getting the credits only returns one actor
I am trying to get the actors for the TV-series Twin Peaks, I'm using this:
http://www.shbhawani.com/3/tv/1920?api_key=###&append_to_response=credits

But I only get one person listed in the cast (actor), many persons in the crew.
Am I doing something wrong, or is this a bug in the API?

To get all the credits, use aggregate_credits

http://www.shbhawani.com/3/tv/1920?api_key=THE_KEY&append_to_response=aggregate_credits

Hello. The API is behaving as expected. The most recent season of Twin Peaks (Season 3) has only one regular cast member.

If you would like the credits for every episode of Twin Peaks in aggregate, you'll need to change append_to_response=credits to append_to_response=aggregate_credits. More info:
http://www.shbhawani.com/3/tv/get-tv-aggregate-credits

@ldjb said:

Hello. The API is behaving as expected. The most recent season of Twin Peaks (Season 3) has only one regular cast member.

If you would like the credits for every episode of Twin Peaks in aggregate, you'll need to change append_to_response=credits to append_to_response=aggregate_credits. More info:
http://www.shbhawani.com/3/tv/get-tv-aggregate-credits

Big thank you. Works. Case closed.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Want to rate or add this item to a list?

Login