From OpenHome
(Difference between revisions)
(Created page with "[WIP. More content to come.] Tidal's API is private. See Tidal for access to it. Or speak to us if you think that your access to the API would benefit OpenHome.") |
|||
Line 1: | Line 1: | ||
- | + | Tidal's API is private. See Tidal for access to it. Or speak to us for help if you think that your access to the API would benefit OpenHome. | |
- | Tidal's API | + | Assuming access to Tidal's API, the [[Av:Developer:CredentialsService | Credentials]] service can be used to retrieve the following information: |
+ | |||
+ | * The <tt>Ids</tt> state variable includes <tt>tidalhifi.com</tt> if Tidal is supported. | ||
+ | * <tt>Data</tt> from <tt>Get</tt> contains the country code used for many Tidal API calls. | ||
+ | * <tt>Status</tt> from <tt>Get</tt> is blank if Username and Password are both either blank or set and valid. If <tt>Status</tt> is not blank, it contains either json returned from a Tidal API or an error string. | ||
+ | * The token returned from <tt>Login</tt> and <tt>ReLogin</tt> is a Tidal session id. |
Revision as of 08:46, 9 December 2014
Tidal's API is private. See Tidal for access to it. Or speak to us for help if you think that your access to the API would benefit OpenHome.
Assuming access to Tidal's API, the Credentials service can be used to retrieve the following information:
- The Ids state variable includes tidalhifi.com if Tidal is supported.
- Data from Get contains the country code used for many Tidal API calls.
- Status from Get is blank if Username and Password are both either blank or set and valid. If Status is not blank, it contains either json returned from a Tidal API or an error string.
- The token returned from Login and ReLogin is a Tidal session id.