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
Resolved Tickets
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Koen Klaren
on October 24, 2013 at 4:52 PM
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 likestatus
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!
Reply by Travis Bell
on October 24, 2013 at 5:06 PM
The
cast
andcrew
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.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.
Reply by MovieRollApp
on October 25, 2013 at 12:19 AM
This is great, thank you!
Reply by Stuart Boston
on October 25, 2013 at 10:27 AM
Excellent, I shall have a go at implementing the methods over the weekend and see what issues are thrown up :)
Reply by Stuart Boston
on October 30, 2013 at 11:59 AM
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
gets you
<h1>Not found</h1>
rather than a nice status code. Same for most of the other methods too.Reply by veinfeldt
on October 30, 2013 at 3:09 PM
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! :)
Reply by Travis Bell
on October 30, 2013 at 6:01 PM
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.
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.
Reply by Travis Bell
on October 31, 2013 at 3:34 PM
LH-292 and LH-302 were just pushed live. LH-302 is a breaking change so make sure to update your code!
Reply by Stuart Boston
on October 31, 2013 at 3:42 PM
If you are naming fields, you might also consider "character_name" -> "character" in the episode/credits
Reply by Travis Bell
on October 31, 2013 at 6:16 PM
Done and deployed. LH-304.
Reply by ddelec24
on November 4, 2013 at 7:27 AM
Do you plan to create a method "GET '/3/tv/:id/changes' like it exists with movie? Thank you!
Reply by Travis Bell
on November 4, 2013 at 9:50 AM
cough, points to the list of open tickets
LH-297.
;)
Reply by Travis Bell
on November 4, 2013 at 5:36 PM
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.
Reply by javikr
on November 5, 2013 at 7:00 AM
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.
Reply by Stuart Boston
on November 5, 2013 at 7:50 AM
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