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?
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
Want to rate or add this item to a list?
Not a member?
Travis Bell님의 댓글
5월 15, 2019 at 11:20 오전
Hi @PeriloAmbrosio,
That's not a valid search request. You're looking for:
Cheers.
PeriloAmbrosio님의 댓글
5월 20, 2019 at 5:20 오후
Thanks, Travis!