Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
mntgoat
Posts: 47
Joined: Thu Sep 24, 2015 10:41 pm

User agent

Tue May 09, 2023 6:27 pm

Hi, we are in the process of updating our app to use the new API. We see that it requires a user agent https://opensubtitles.stoplight.io/docs ... -appscript

Do we just put our app name there or do we have to configure that somewhere on your site?

Thanks.

User avatar
oss
Site Admin
Posts: 5879
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: User agent

Wed May 10, 2023 9:16 am

I will update docs. Just put there your application name with version, like: "my app v0.1"
thanks

mntgoat
Posts: 47
Joined: Thu Sep 24, 2015 10:41 pm

Re: User agent

Wed May 10, 2023 4:10 pm

Thanks, will do that.

mntgoat
Posts: 47
Joined: Thu Sep 24, 2015 10:41 pm

Re: User agent

Thu May 25, 2023 5:47 pm

I have another question. The getting started guide says:
Your consumer can query the API on its own, and download 5 subtitles per IP's per 24 hours, but a user must be authenticated to download more.
But later it says:
Users must be authenticated for 2 endpoints: user infos (/infos/user) and subtitle downloads (/download), but we recommend once user was authenticated send this header with every request.
So which is it, can users download 5 subtitles per day without authentication or not?

User avatar
oss
Site Admin
Posts: 5879
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: User agent

Thu May 25, 2023 11:47 pm

yes it can download subtitles without authentication - just try it :)

it also depends on settings of UserAgent (api-key/consumer), but default is it can download without Bearer token. (5 subs per 24 hours)

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 23 guests