Skip to content

kabirvirji/singlespotify

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

singlespotify 🎡

Create Spotify playlists based on one artist through the command line

Install

$ npm install -g singlespotify

Note: Node version 7.7.1+ required. $ node -v to check which version you have installed. The latest version can be downloaded here

Usage

$ singlespotify "artist_name"

The program will then prompt you for your Spotify username and bearer token.

You can get the bearer token here: https://developer.spotify.com/console/post-playlists/
Click GET OAUTH TOKEN and make sure to check playlist-modify-public

$ singlespotify --help

Usage
      $ singlespotify "artist_name"
      ? Enter your Spotify username <username>
      ? Enter your Spotify bearer token <bearer>

    Options
      --name [-n] "playlist name"

    Example
      $ singlespotify "Kanye West" -n "My awesome playlist!"
      ? Enter your Spotify username kabirvirji
      ? Enter your Spotify bearer token ************************************************************

    For more information visit https://github.com/kabirvirji/singlespotify

Changelog

  • 03/15/17 Added Inquirer and conf for authentication
  • 03/16/17 Removed -a flag and added option to choose playlist name with -n flag
  • 03/19/17 Used update-notifier to notify users about updates
  • 11/03/19 Updated to accommodate API changes

Shoutout to kshvmdn for all the help!