Soporte de The Movie Database

I plan on executing my python script with my api_key passed in from the command line. I am able to get my request_token, but how do I authenticate it in my script without doing so through the browser? It is not a GET or POST request. I am a little confused on how to do this part. Can someone please help?

2 respuestas (en la página 1 de 1)

Jump to last post

I am trying to it hit https://www.themoviedb.org/authenticate/{REQUEST_TOKEN}/allow from postman, and I all I get back is HTML. I know I can do it through the web browser. But that does not work for me.

Hi @movieBuff123445,

Only steps 1 & 3 can be done in JSON (ie. by your client and the API). Step 2 has to involve the user because they need to authorize their account on TMDb to let your app read & write data on their behalf. The way this works would be to expose a view that supports HTML and that can ask the user for permission.

¿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