Skip to content

EpimetheusMusicPlayer/pandora_authenticator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pandora Authenticator

A CLI tool to authenticate with Pandora and output an authentication token to be used with their various APIs.

Usage

To authenticate once: pandora_authenticator <email address> <password>

An interactive session can be started to authenticate multiple times efficiently. See the usage information below for details.

Usage: pandora_authenticator [options] <email address> <password>

-v, --version        Show the tool version.
-h, --help           Show usage information.
-i, --interactive    Starts an interactive session. More efficient for multiple authentications than starting a new process each time.
-p, --[no-]prompt    Prompt for credentials through stdout in interactive mode. Disable to accept input without outputting prompts first. Useful for scripting.
                     (defaults to on)

Exit codes

Exit code Description
0 No issues occurred.
2 Invalid argument(s) were given.
3 There was a connection issue.
4 Invalid username or password.
5 A login was attempted from a place outside the US.

Building

The Dart SDK is required for building. Unfortunately, cross-compilation is not yet possible.

dart pub get
dart compile exe bin/pandora_authenticator.dart

About

A CLI tool to authenticate with Pandora and output an authentication token to be used with their various APIs.

Topics

Resources

License

Stars

Watchers

Forks

Languages