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
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Koen Klaren
le 24 octobre 2013 à 16h52
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!
Réponse de Travis Bell
le 24 octobre 2013 à 17h06
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.
Réponse de MovieRollApp
le 25 octobre 2013 à 00h19
This is great, thank you!
Réponse de Stuart Boston
le 25 octobre 2013 à 10h27
Excellent, I shall have a go at implementing the methods over the weekend and see what issues are thrown up :)
Réponse de Stuart Boston
le 30 octobre 2013 à 11h59
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.Réponse de veinfeldt
le 30 octobre 2013 à 15h09
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! :)
Réponse de Travis Bell
le 30 octobre 2013 à 18h01
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.
Réponse de Travis Bell
le 31 octobre 2013 à 15h34
LH-292 and LH-302 were just pushed live. LH-302 is a breaking change so make sure to update your code!
Réponse de Stuart Boston
le 31 octobre 2013 à 15h42
If you are naming fields, you might also consider "character_name" -> "character" in the episode/credits
Réponse de Travis Bell
le 31 octobre 2013 à 18h16
Done and deployed. LH-304.
Réponse de ddelec24
le 4 novembre 2013 à 07h27
Do you plan to create a method "GET '/3/tv/:id/changes' like it exists with movie? Thank you!
Réponse de Travis Bell
le 4 novembre 2013 à 09h50
cough, points to the list of open tickets
LH-297.
;)
Réponse de Travis Bell
le 4 novembre 2013 à 17h36
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.
Réponse de javikr
le 5 novembre 2013 à 07h00
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.
Réponse de Stuart Boston
le 5 novembre 2013 à 07h50
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