Podpora The Movie Database

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 odpovědí (na stránce 1 z 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.

Nemůžete nalézt film nebo seriál? Přihlaste se pro jeho vytvoření.

Globální

s zaměřit panel hledání
p otevřít nabídku profilu
esc zavřít otevřené okno
? otevřít okno klávesových zkratek

Na stránkách médií

b zpět (nebo na nadřazený záznam, pokud to jde)
e na stránku úprav

Na stránkách sezón

(šipka vpravo) na další sezónu
(šipka vlevo) na předchozí sezónu

Na stránkách epizod

(šipka vpravo) na další epizodu
(šipka vlevo) na předchozí epizodu

Na všech stránkách obrázků

a otevřít okno přidání obrázku

Na všech stránkách úprav

t otevřít výběr překladu
ctrl+ s odeslat formulář

Na stránkách diskusí

n vytvořit novou diskusi
w přepnout stav zhlédnutí
p přepnout veřejný a soukromý
c přepnout zavřít a otevřít
a otevřít aktivitu
r odpovědět na diskusi
l na poslední odpověď
ctrl+ enter odeslat zprávu
(šipka vpravo) další stránka
(šipka vlevo) předchozí stránka

Nastavení

Want to rate or add this item to a list?

Přihlásit se