New JSON Response
🕑 Added 2019-10-15 04:30:07 +0000 UTCHere is a first draft of the new JSON response, feedback is welcome!
- Dates changed to ISO8601
- Response returns proper boolean instead of string
- Runtime returns integer instead of string
- Cast array with "Character" name
- Language and Country returned as array
- Box_office and budget return as numbers
Comments
Brian Fritz
Go here to request your Patreon key: omdbapi.com/apikey.aspx
Okechukwu Eneanya
Hi All, where can i go to access my API key?
Chris Fletcher
Is there a new way to make requests, or is this still the way to do it: http://www.omdbapi.com/?apikey=[yourkey]& Also the guide at www.omdbapi.com hasn't been updated in years so I have no idea what a "jsonblob" is or if I should be using this...
Zain Malik
iam patreon memeber but i enter my mail id No patron was found with this email address.in omdb
Brian Fritz
Go here to request your Patreon key: omdbapi.com/apikey.aspx
Michael
Hi All, when can get my API key? thank for answer
Jeff Johnson
Hi All, where can I locate my API key?
Fariz Habibie Permana
And at what time of day does the usage get back to zero?
Fariz Habibie Permana
Is there any way to see the usage of my API? I want to see how far I am from reaching my limit
Nathan
https://www.omdbapi.com/apikey.aspx enter your patreon email. Then a key will be sent to your email address
Chris Chester
The system says I'm not found even though I'm a newly created member. Does anyone know how to get the apikey?
Robert
First of all, per the Git page, the interface you're using is deprecated, so I would go to the new project and try that. Second, this seems to be trying to hit OMDB over HTTPS (that's port 443) when OMDB is just HTTP (port 80). Check the client's settings, https://hub.docker.com/editions/community/docker-ce-desktop-windows/ (Get Docker) https://github.com/luluhoc/home-cinema-toolkit
Triks
Was hoping to use this API to run "Radarr Mass Delete" (https://github.com/luluhoc/radarr-mass-delete). It appears to work with some titles but ends up giving what appears to be errors... I purchased the 250,000 requests per day plan - I'm just an end user not a programmer so any help/advice would be appreciated. RequestError: Error: connect ECONNREFUSED 104.20.135.15:443 at new RequestError (/usr/local/lib/node_modules/npm/radarr/node_modules/request-promise-core/lib/errors.js:14:15) at Request.plumbing.callback (/usr/local/lib/node_modules/npm/radarr/node_modules/request-promise-core/lib/plumbing.js:87:29) at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/npm/radarr/node_modules/request-promise-core/lib/plumbing.js:46:31) at self.callback (/usr/local/lib/node_modules/npm/radarr/node_modules/request/request.js:185:22) at Request.emit (events.js:315:20) at Request.onRequestError (/usr/local/lib/node_modules/npm/radarr/node_modules/request/request.js:881:8) at ClientRequest.emit (events.js:315:20) at TLSSocket.socketErrorListener (_http_client.js:426:9) at TLSSocket.emit (events.js:315:20) at emitErrorNT (internal/streams/destroy.js:92:8) at emitErrorAndCloseNT (internal/streams/destroy.js:60:3) at processTicksAndRejections (internal/process/task_queues.js:84:21) { cause: Error: connect ECONNREFUSED 104.20.135.15:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) { errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '104.20.135.15', port: 443 }, error: Error: connect ECONNREFUSED 104.20.135.15:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) { errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '104.20.135.15', port: 443 }, options: { uri: 'https://private.omdbapi.com/?apikey=#########=tt1966604', callback: [Function: RP$callback], transform: undefined, simple: true, resolveWithFullResponse: false, transform2xxOnly: false }, response: undefined
James McCoy
Hi, any update on this?
Mads Sørensen
Hey Brian I send you a message like 20 days ago. Will You please reply to me.
Neeren Patki
You can add a '*' to the end of your search query and I've seen that return much better results. "&s=el camino*". Question for Brian about the search. I've seen places like IMDb and TMDb have search results that factor in popularity or recent release dates into their search results. For example, if I searched "bad" on either of them, then the newer movie "Bad Boys for Life (2020)" will be at the top of the list. Whereas with the current OMDB search API, it won't be in the first page of results until I search for "bad boys". Is it possible to improve this? Not sure if it is since this might need a popularity factor to form results.
Neeren Patki
Looking forward to the new updates in the API! I saw on WikiData that Rotten Tomatoes ID is present sometimes. As well as Netflix ID is present sometimes. At least hopefully the Rotten Tomatoes ID can be added to the API? Also, I'm not sure if this is possible, but is there any plan to also include possible streaming services for titles?
Josar
Nice work Brian! Suggestion, can we get the year as number instead of string? Also, the wiki contains the URLs "imdb id", "metacritic id" and "rottenid id", would you be able to add them to the response? Perhaps as "urls": [{"site":"imdb", "url": "https..."}, ...] Would you be able to add Production information for series? I think it's been asked in github too.
morteza
hello . how can i use api ?
Morten Veith Schroeder
Something similar happened not too long ago :(
Morten Veith Schroeder
Yes. Experiecing the same issue
Arjun Sharma
I think its down. I can't access it
Claus Hein
Are the Service down ?
Claus Hein
are the service down ?
POP DevOps
For series, any chance of getting a Seasons array with the release date for each season?
MaFt Morley
Personal opinion: review ratings and age/certificate ratings should be physically separate as they are 2 very different things.
MaFt Morley
Maybe the age ratings would be better described firstly as 'Certficicate' (rating can be confused with review/stars etc) and the country ID. Eg If I want to know the age rating / certificate from France then I could look for CertificateFR without needing to know what the French ratings company is. I know BBFC is the UK one but someone in the USA may not so CertificateUK may be easier to locate? I can't see BBFC or MPAA changing their name anytime soon so using their official acronyms would still work, I'm just wondering if they are the most practical.
MaFt Morley
I'd say not. When I'm looking for information on a film I don't check the full release date, I check the year. If I need to do that programatically I would rather have a simple release year field instead of having to take the release date, parse it, extract the year and then use that.
Brian Fritz
Not out of scope at all! I do have access to almost all international ratings via Wikidata: https://www.wikidata.org/wiki/Q42759035
Brian Fritz
When using the "t" parameter it will return the most relevant match (highest ranked), however, if it finds an exact match that will return instead.
Robel Ayelew
I need a link that has more movies with all info and posters
Robel Ayelew
but the link has only one movie information
Brian Fritz
https://jsonblob.com/api/jsonBlob/00e41e9b-ee38-11e9-bf57-3d2c53365773
Viktor Eikman
Though it may not be important, there is overlap between the different types of ratings I mentioned. RT as a system has guidelines, and e.g. Common Sense Media claims to rate "quality" rather than age appropriateness per se. Ultimately, it’s all opinion, even with guidelines.
Theo
Yes that's what I'm talking about, I use the 's' query and I am having this issue with it
James McCoy
I don't like that, as a film's official rating is determined by an agency based on strict guidelines whereas the other ratings (IMDB, RT, MC) are simply popularity scores
James McCoy
If you do an open search with parameter 's' (instead of a title search with param 't'), you can limit the type of result to movie/series and it will return the most relevant results, from which you could pick your choice.
Viktor Eikman
Akshay has a good point. Instead of a scalar "rated" field, I suggest rolling the audience-restriction ratings into the perceived-quality ratings, so you would get an array like this: "ratings": [{"source": "Internet Movie Database", "value": "8.9/10"}, {"source": "Motion Picture Association of America", "value": "R"}, ... }]
worr
This is great to hear! Is there a server we can start doing testing on? Or is it too early for this?
Theo
Hey, just recently became a patron, loving it so far, but I find the search mode a bit too fussy. Like if you search "El Camino" I'd expect the new El Camino movie to come up, but it doesn't - you have to search for the whole name "El Camino: a breaking bad movie" for it to come up. There are many other examples of this, I'm just wondering is it possible to make the search a bit less fussy?
Akshay Patel
I personally prefer an array here. Is the list of sources finite and known? Is it just IMDB, RT and MetaCritic, or are there others that could pop up?
Akshay Patel
Given that only the USA uses MPAA ratings, what are your thoughts on renaming the 'rated' field to 'mpaaRating' or something along those lines, and adding a 'bbfcRating' field for the UK rating. I know this is a bit of a cheeky one, and I'm sure adding fields is out of the scope of this discussion but I thought I'd throw it in here anyway.
Akshay Patel
Given the release date is provided, is the year field redundant?
Akshay Patel
Could the fields with arrays have pluralised field names? For example, 'writers' rather than 'writer' and 'languages' rather than 'language'.
Akshay Patel
The link is above the post content. It is a little bit subtle, but there is a link called Jsonblob.
Michael Joseph
Robert - http://www.omdbapi.com/
James McCoy
Are the box office numbers domestic or worldwide? Where are you getting them from?
Robel Ayelew
need help where can i get a link for the movie JSON
Zane Varner
Brian, I agree. Believe it or not, I am literally running a script that transforms the array into a dictionary right now. By the way, I upgraded to Pro subscription and the server speed is really pleasing.
Robel Ayelew
where do you get the link for the JSON
Brian Fritz
I'm thinking the ratings array should be an object so it can be easily queried like $.ratings["Metacritic"]