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 trobeu una pel·lícula o una sèrie? Inicieu la sessió per a crear-la.
Desitgeu valorar o afegir aquest element a una llista?
No n'ets membre?
Resposta per Travis Bell
el 15 de 2019 a les 11:20 A.M.
Hi @PeriloAmbrosio,
That's not a valid search request. You're looking for:
Cheers.
Resposta per PeriloAmbrosio
el 20 de 2019 a les 5:20 P.M.
Thanks, Travis!