Suport de The Movie Database

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 resposta (a les pàgines 1 de 6)

Jump to last post

Pàgina següentÚltima pàgina

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

No trobeu una pel·lícula o una sèrie? Inicieu la sessió per a crear-la.

Global

s centra la barra de cerca
p obre el menú del perfil
esc tanca una finestra oberta
? obre la finestra de dreceres de teclat

A les pàgines de materials

b torna enrere (o la superior quan sigui aplicable)
e ves a la pàgina d’edició

A les pàgines de temporades

(fletxa dreta) ves a la temporada següent
(fletxa esquerra) ves a la temporada anterior

A les pàgines d'episodis

(fletxa dreta) ves a l'episodi següent
(fletxa esquerra) ves a l'episodi anterior

A totes les pàgines d'imatges

a obre la finestra d'afegir imatges

A totes les pàgines d'edició

t obre el selector de traducció
ctrl+ s envia el formulari

A les pàgines de debat

n crea un debat nou
w canvia l'estat de visualització
p canvia públic/privat
c tanca o obre
a obre activitat
r resposta al debat
l ves a la darrera resposta
ctrl+ enter envieu el vostre missatge
(fletxa dreta) pàgina següent
(fletxa esquerra) pàgina anterior

Configuracions

Desitgeu valorar o afegir aquest element a una llista?

Inicieu la sessió