The Movie Database Support

I already have an API key, but the application was set to Nextcloud with the URL, but I also need to use the API key in a BASH script I am using to build a PDF document of all my favourite movies. (Easier to page through a file than scroll through pages and pages of thumbnails - I am willing to share the git URL for anyone who may want to have such a script).

I kept getting a success of false. So I tried resetting the API key and removing the app name and URL.

I type:

$ curl --request GET --url 'https://api.themoviedb.org/3/movie/11?apikey=supersecretapikey'

But I still get the same JSON output...

{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}

What am I doing wrong?

3 replies (on page 1 of 1)

Jump to last post

Hi @thisiszeev,

The name of API key param is api_key, not apikey.

See the docs for more info: https://developer.themoviedb.org/docs/authentication-application

I could kick myself in the teeth... let me try that

Yep, that fix it

T

Can't find a movie or TV show? Login to create it.

Want to rate or add this item to a list?

Login