Hi!
I was talking last week by e-mail ([email protected]) about some problems I had with the new REST API (https://www.opensubtitles.com/docs/api/ ... entication) but it was my fault as I hadn't an account at opensubtitles.com (the .com and new Beta site). Well, you had replied me saying about, I registered there using the username "slackerneckless" and it's working now. But not totally.
I need to say I have an account with the same username "SlackerNReckless" at opensubtitles.org (the .org one) and it's the username I use here too. This since "Thu 28 Aug 02:03:44 2008" and I registered an User Agent in "Wed 13 Feb 09:26:09 2013" and I have a Developer rank at .org site.
Well, I built a simple Delphi application using the old XML-RPC Api and of course it's working perfectly using the Delphj implementation found here: (https://www.yanniel.info/2012/01/open-s ... elphi.html) linked in the page: (https://trac.opensubtitles.org/projects ... msUsingAPI) and the CalcGabestHash's Delphi function found here: (https://trac.opensubtitles.org/projects ... ourceCodes)
Note: I had to change the Delphi implementation later when the site moved to https (SSL) adding the IdSSLIOHandler Delphi component from Indy Projects http://ww2.indyproject.org/index.en.aspx) using external DLL libraries libeay32.dll and ssleay32.dll. Anyway it's working perfectly.
Okay, here goes:
Using the specifications found here: https://www.opensubtitles.com/docs/api/ ... -subtitles I did some tests and using the 'query' parameter and it worked but not using the 'moviehash' parameter. Everytime I used it I got a 500: Internal Server Error and a JSON returned saying the same.
I hashed some movies using the CalcGabestHash's Delphi function but nothing worked. I noticed there is no example for it there (in API documentation), only for 'query' and the 'type' optional parameter is just mentioned.
I even tried using cURL to see if I was doing something wrong. But I got the same error.
Note :
I had sent a new message to [email protected] in Apr, 30th of 2020, last Thursday regarding this new issue but after 24 hours I got a message saying it was not delivered because the mailbox didn't exist or didn't answer. So I sent a new one in May, 1st of 2020, last Friday to [email protected]. I waited 3 days for a reply and now I'm using the forum for help.
Well, I had sent a message to [email protected] replying the e-mail I had received about the new REST API with the subject: "OpenSubtitles API update, REST API testing" and I ended up getting replies from [email protected] with a support number/ticket attached to it like this: "Re: OpenSubtitles API update, REST API testing [#629970]". We even talked with each other last week.
Okay. That's all for now! Sorry for any inconvenience regarding this message and thanks in advance for reading it. See ya!