spotify-cli

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2018 License: MIT Imports: 18 Imported by: 0

README

Spotify CLI

Build Status codecov Go Report Card

Spotify Client which runs in the terminal.

screenshot

Getting Started

Prerequisites
  1. Linux/MacOS operating system
  2. Google Chrome browser installed
  3. Go language installed
  4. Premium Spotify Account
  5. Created Spotify Application under https://beta.developer.spotify.com/dashboard/applications (set redirect URI to http://localhost:8888/spotify-cli)
Installing
  1. Go to https://beta.developer.spotify.com/dashboard/applications, find created earlier Spotify Application, find Client ID and Client Secret, and put them in environment variables
export SPOTIFY_CLIENT_ID=xxxxxxxxxxxxx
export SPOTIFY_SECRET=yyyyyyyyyyyyyyyy
  1. Clone this repostitory
git clone git@github.com:jedruniu/spotify-cli.git
  1. Build application
go build
  1. Run application
./spotify-cli

Running tests

go test -v

Built With

  • tui - Terminal User Interface framework
  • Spotify - Spotify Web API Wrapper
  • dep - Go dependency management tool

TODO

  • Unit test playback.go
  • Unit test main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL