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?
Can't find a movie or TV show? Login to create it.
Ĉu volas taksi aŭ aldoni ĉi tiun elementon al listo?
Ĉu ne estas membro?
Respondo de Travis Bell
je Majo 15 2019 je 11:20 AM
Hi @PeriloAmbrosio,
That's not a valid search request. You're looking for:
Cheers.
Respondo de PeriloAmbrosio
je Majo 20 2019 je 5:20 PM
Thanks, Travis!