Page 1 of 1

User agent

Posted: Tue May 09, 2023 6:27 pm
by mntgoat
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.

Re: User agent

Posted: Wed May 10, 2023 9:16 am
by oss
I will update docs. Just put there your application name with version, like: "my app v0.1"
thanks

Re: User agent

Posted: Wed May 10, 2023 4:10 pm
by mntgoat
Thanks, will do that.

Re: User agent

Posted: Thu May 25, 2023 5:47 pm
by mntgoat
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?

Re: User agent

Posted: Thu May 25, 2023 11:47 pm
by oss
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)