Expand description
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§
- Pandora
Response - 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.
- Pandora
Session - 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.
- Session
Tokens - 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§
- Pandora
Status - The status string returned by the Pandora JSON API call.
Traits§
- Pandora
Json ApiRequest - 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.
- ToEncryption
Tokens - 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
- ToPartner
Tokens - This trait is used to provide access to all the tokens needed to track the partner (application) session.
- ToStation
Token - Trait for providing access to a station token.
- ToTracking
Token - Trait for providing access to one or more ad tracking tokens.
- ToUser
Tokens - This trait is used to provide access to all the tokens needed to track the user session.