The Movie Database Support Forum

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 Antworten (Seite 1 von 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.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden