Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kabirvirji/singlespotify
🎵 Create Spotify playlists based on one artist through the command line
https://github.com/kabirvirji/singlespotify
artists bearer cli javascript music node-module nodejs npm npm-module npm-package playlist spotify spotify-api spotify-cli spotify-playlist
Last synced: 4 months ago
JSON representation
🎵 Create Spotify playlists based on one artist through the command line
- Host: GitHub
- URL: https://github.com/kabirvirji/singlespotify
- Owner: kabirvirji
- License: mit
- Created: 2017-03-07T03:08:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-31T21:18:00.000Z (over 3 years ago)
- Last Synced: 2024-10-04T14:38:12.644Z (5 months ago)
- Topics: artists, bearer, cli, javascript, music, node-module, nodejs, npm, npm-module, npm-package, playlist, spotify, spotify-api, spotify-cli, spotify-playlist
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/singlespotify
- Size: 2.67 MB
- Stars: 265
- Watchers: 9
- Forks: 13
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://nodejs.org/en/)## 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
? Enter your Spotify bearer tokenOptions
--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](https://github.com/SBoudrias/Inquirer.js) and [conf](https://github.com/sindresorhus/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](https://github.com/yeoman/update-notifier) to notify users about updates
- **11/03/19** Updated to accommodate API changesShoutout to [kshvmdn](https://github.com/kshvmdn) for all the help!