The Movie Database Support

Hey guys,

I know a lot of you have been waiting for this so here it is, the TV API.

We currently have 17 methods available:

GET '/3/tv/:id'
GET '/3/tv/:id/credits'
GET '/3/tv/:id/external_ids'
GET '/3/tv/:id/images'
GET '/3/tv/:id/translations'
GET '/3/tv/:id/season/:season_number'
GET '/3/tv/:id/season/:season_number/credits'
GET '/3/tv/:id/season/:season_number/external_ids'
GET '/3/tv/:id/season/:season_number/images'
GET '/3/tv/:id/season/:season_number/episode/:episode_number'
GET '/3/tv/:id/season/:season_number/episode/:episode_number/credits'
GET '/3/tv/:id/season/:season_number/episode/:episode_number/external_ids'
GET '/3/tv/:id/season/:season_number/episode/:episode_number/images'
GET '/3/tv/on_the_air'
GET '/3/tv/top_rated'
GET '/3/tv/popular'
GET '/3/search/tv'
GET '/3/discover/tv'

And 3 new person credit methods to support TV and external IDs:

GET '/3/person/:id/movie_credits'
GET '/3/person/:id/tv_credits'
GET '/3/person/:id/combined_credits'
GET '/3/person/:id/external_ids'

And also new credit, find and network namespace:

GET '/3/credit/:id'
GET '/3/find/:id'
GET '/3/network/:id'

Functionality wise, they work almost identical to movies or the way you expect things to work on v3. The most notable thing missing right now is getting to the TV credits from the person side of things. I'll be working on that this week.

Understandably, this is a preview release and should be considered a risk. Some data could change depending on the feedback I get and if you roll this out publicly you are assuming that risk. I don't expect it to be like this for long, maybe a few weeks. I'll let everyone know when the design is final.

Now go ahead everyone, test!

Open Tickets

  • LH-298 - Create the method to list TV genres

Resolved Tickets

  • LH-296 - Link up TV credits on people
  • LH-292 - Create a tv season credits method
  • LH-300 - Ensure 404 items get a proper not found response
  • LH-302 - Rename sort_order to order to match the movie credit order field
  • LH-304 - Rename the TV character_name field to character to keep it consistent with movies
  • LH-309 - Create the /tv/popular method
  • LH-310 - Create the /tv/top-rated method
  • LH-294 - Create the /discover/tv method
  • LH-295 - Create the /network/:id method
  • LH-311 - Create a /tv/:id/translations method
  • LH-301 - Search for TvSeries by an external id
  • LH-312 - Create the /tv/on_the_air method
  • LH-313 - Create the /tv/today method
  • LH-297 - Hook up the change methods to TV

86 replies (on page 1 of 6)

Jump to last post

Next pageLast page

Just browsing through the documentation at the moment. You probably have most of this on your todo list already, but here are some things I noticed anyways. You can get the credits for series and episodes, but not for seasons, which is possible on the site. TV information includes network references, but there are no methods to get more information on these. Besides TV-specific methods missing from the "person side of things", they're also missing from changes, genres, discover etc.

One more thing on the API documentation in general. Some properties are not fully explained, belongs_to_collection is shown as null in an example and someone (like me) might assume it'll return the collection id, but it actually returns an object. Also, not all possible values for properties like status on TV series are listed, only "Ended". It might be useful for developers if they knew what to expect of some properties :)

Anyways, I love the idea of having a central API for my media center!

You can get the credits for series and episodes, but not for seasons, which is possible on the site

The cast and crew arrays on episodes hold the season level cast and crew info but it wouldn't hurt to duplicate the data on a season level. Ticket for that is here.

Besides TV-specific methods missing from the "person side of things", they're also missing from changes, genres, discover etc.

Each one of those will be hashed out over time. That's why this is just a preview. It's enough to get started and dip your feet in to see if anything really obvious is missing.

This is great, thank you!

Excellent, I shall have a go at implementing the methods over the weekend and see what issues are thrown up :)

Appreciate that this is still in beta, but are you planning on adding the paging and other features seen with the movie methods? Example, calling

/3/tv/:id/season/:season_number/episode/:episode_number/external_ids

gets you <h1>Not found</h1> rather than a nice status code. Same for most of the other methods too.

Do you have any plans on allowing indexing series via its imdb id like you have for movies? Ex: /3/tv/tt0903747 to retrieve info on Breaking Bad?

In any case - great work! :)

are you planning on adding the paging and other features seen with the movie methods?

Yes, and most should already (some I just tested look good) but it does indeed look like some were missed. Probably especially down into the nested episode level. I've created a new ticket.

Do you have any plans on allowing indexing series via its imdb id like you have for movies? Ex: /3/tv/tt0903747 to retrieve info on Breaking Bad?

I do but it probably won't work the same way since we support multiple external ids on TV objects. I've created a new ticket for this here but am not sure when I'll be looking at it. In the grand scheme of things it's lower on my priority list than some other features.

Cheers.

LH-292 and LH-302 were just pushed live. LH-302 is a breaking change so make sure to update your code!

If you are naming fields, you might also consider "character_name" -> "character" in the episode/credits

Done and deployed. LH-304.

Do you plan to create a method "GET '/3/tv/:id/changes' like it exists with movie? Thank you!

cough, points to the list of open tickets

LH-297.

;)

Person TV credit methods are now available: http://docs.themoviedb.apiary.io/#people

I also added /credit/:id method. For more information about this and what it's intended to provide, please read the documentation.

Cheers.

Hi! First of all, thank you very much for your really good work :)

Just one "recommendation": it would be great if we could access to the popular tv shows, top rated and "now playing" like in the movie methods.

I don't know if you are currently working on this..

Best, Javier.

I notice that you've split credits into tv_credits, movie_credits & combined_credits.

I presume that the current /credit redirects to /movie_credits is this correct?

I did check the output and that's what it seems, but I wanted to verify

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