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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址