Pandora API Ruby Client

A Ruby wrapper for the Pandora Tuner JSON API.


require 'pandora'

partner =, password, device, encryption_key, decryption_key)

john = partner.(john_email, john_password)   # Returns a Pandora::User

jane = partner.(jane_email, jane_pasword)

Pandora::Partner and Pandora::User objects can be marshalled via Ruby's Marshal. In a web application this can be useful to avoid re-authenticating on every request---just marshal the appropriate object to the user session or temporary storage. Note that the marshalled data may contain sensitive passwords or tokens.


Patches and bug reports are welcome. Just send a pull request or file an issue. Project changelog.