I just started learning Python and I'm trying to make a code where it asks me to write the name of a movie (using input) and to give me details such as overview, title and the homepage of the movie.
req = requests.get('http://api.themoviedb.org/3/search/query?api_key=###' + nome)
This is not the full code, but only the first def to search for the movie in the collection after the input was made.
I always receive:
{'status_code': 7, 'status_message': 'Invalid API key: You must be granted a valid key.'}.
What i'm doing wrong?
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 15 de mayo de 2019 a las 11:20
Hi @PeriloAmbrosio,
That's not a valid search request. You're looking for:
Cheers.
Contestado por PeriloAmbrosio
el 20 de mayo de 2019 a las 17:20
Thanks, Travis!