0.0.3 • Published 4 years ago
spotify-rtoken-cli v0.0.3
spotify-rtoken-cli
Generate a Spotify
refresh_tokenright from terminal
In step 5, you will be redirected to your browser for confirming permissions. Then you will be redirected to the specified
redirect_uriwith the code. Copy thatcode, paste in the terminal.
Highlights
- Easy to use. You just need to call the CLI and follow the prompt
- Does not store any credentials locally
- Directly copies the
refresh_tokento clipboard :sparkles: - You are aware of every step that is being executed
- No need to define scopes, unless you want to manually add scopes. Recommended option is
read-onlyscopes.
Prerequisites
Below are the Spotify credentials you will need from your Spotify app inorder to generate a refresh_token with this CLI app:
client_idclient_secretredirect_uri
Installation
$ npm install --global spotify-rtoken-cliUsage
$ spotify-rtoken --help
Usage
$ spotify-rtoken
Options
--no-mask Do not hide/mask credentials ie, client_id, client_secret, code.
Examples
$ spotify-rtoken
$ spotify-rtoken --no-maskRelated
- spotify-mini - Simple Spotify client for Nodejs exposing some useful methods
License
MIT License © 2022 Rocktim Saikia
