OpenSubtitlesApi
Types
Properties
Link to a website for creating a new account
The requirements to login in app
The sensitive redirect URL from OAuth should contain "/redirectUrlIdentifier" to trigger the login
If this service requires an account to use
Functions
An optional security measure to make sure that even if an attacker gets ahold of the token, it will be invalid.
Is this url a valid redirect url for this service?
Pin login, this will be called periodically while logging in to check if the pin has been verified by the user
OAuth2 login from a valid redirectUrl, and payload given in loginRequest
In app login
OAuth2 login request, asking the service to provide a url to open in the browser
Pin login request, asking the service to provide an verificationUrl to display with a QR code
OAuth2 token refresh, this ensures that all token passed to other functions will be valid
Fetch subtitles using token authenticated on previous method (see authorize). Returns list of Subtitles which user can select to download (see load).