Module pandora_api::json [−][src]
Support for the JSON API v5 interface for Pandora.
Unless noted otherwise JSON-encoded requests sent by within the HTTP POST body are encrypted using Blowfish ECB and converted to hexadecimal notation with lowercase letters.
Modules
| accessory | Accessory support methods. |
| ad | Ad support methods. |
| auth | Authentication/authorization support messages. |
| bookmark | Bookmark support messages. |
| device | Device support messages. |
| errors | Error codes that can be returned by the Pandora API. |
| music | Music support methods. |
| station | Station support methods. |
| test | Test methods. |
| track | Track support methods. |
| user | User support methods. |
Structs
| PandoraResponse | A generic type to aid in converting the returned Json document from a Pandora API call into a custom struct T that deserializes the content of the API call result. |
| PandoraSession | A builder to construct the properties of an http request to Pandora. |
| Partner | A convenience type that can produce valid PartnerLogin instances for a number of different endpoints and device types. |
| SessionTokens | A convenience type that holds all the values necessary to maintain an active session with the Pandora service. |
| Timestamp | A representation of a moment in time. |
Enums
| PandoraStatus | The status string returned by the Pandora JSON API call. |
Traits
| PandoraApiRequest | A trait for accessing information and capabilities specific to each Pandora JSON API call, including the method name, the json body content, and whether the body content should be encrypted before transmission. |
| ToEncryptionTokens | This trait is used to provide access to the tokens needed to initiate a partnerLogin. |
| ToEndpoint | Trait for getting the JSON API endpoint specific to the partner account being used for the service |
| ToPartnerTokens | This trait is used to provide access to all the tokens needed to track the partner (application) session. |
| ToStationToken | Trait for providing access to a station token. |
| ToTrackingToken | Trait for providing access to one or more ad tracking tokens. |
| ToUserTokens | This trait is used to provide access to all the tokens needed to track the user session. |