Soporte de 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 respuestas (en la página 1 de 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.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión