The Movie Database Support

Hey, it would be nice to get the Episode number and season number by the episode name.

Basically I am using your API to scrape over recorded tv shows with this existing api method:

https://api.themoviedb.org/3/tv/{tv_id}/season/{season_number}/episode/{episode_number}?api_key=<<api_key>>&language=en-US

But to get the information, I need to know the season and episode number beforehand. I thought it would be nice if i could get the episode Information without the exact season and episode number, but just with the series and the episodes title...

For example Homeland (TMDB ID: 1407) Season 7 Episode 1: is Enemy of the State

With the current api:

https://api.themoviedb.org/3/tv/1407/season/7/episode/1?api_key=<<api_key>>&language=en-US

I think it would be great if something like

https://api.themoviedb.org/3/tv/{tv_id}/{episode_title}?api_key=<<api_key>>&language=en-US

in this example

https://api.themoviedb.org/3/tv/1407/Enemy%20of%20the%20State?api_key=<<api_key>>&language=en-US

would have the same output... Is or would something like this be possible? What do you think?

2 replies (on page 1 of 1)

Jump to last post

I don't think we'd ever support a lookup by name but, you can kind of do this on your own already. If you call the /season/{season_number} method, you get a list of all episodes with their names. You can then match that locally to know which episode query to make.

Great, I didn't know that was possible.

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?

ലോഗിൻ