The Movie Database Support

I am writing an application to find the latest episode of a list of shows, but I was wondering if there was a way to do this in one request.

Currently I:

  1. use 'https://api.themoviedb.org/3/tv/SHOW_ID' to find number of seasons, and then
  2. use https://api.themoviedb.org/3/tv/{show_id}/season/NUM_SEASONS' to find the latest show

Is there any way of using append to response to limit myself to one API call per show?

3 replies (on page 1 of 1)

Jump to last post

There is currently no way to do this with a single call but I do have an open ticket for next episode to air, last episode to air and a last air date.

I will update this post when it is complete.

Hi Travis, the ticket is opened since 2015, I'd like to add my voice to Jordan for such a feature (actually, for the next episode to air). thanks

Just an update, tickets #470 and #471 were completed this morning. These two tickets include adding a last_episode_to_air and next_episode_to_air field to the TV series get details call. The documentation for the get details method can be found here.

P.S. you might not see the updated responses on all TV series yet, as some items will still need to be expired from the cache.

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

Settings

Want to rate or add this item to a list?

Login