Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wardbox/spotishell
A powershell module used to interact with the Spotify API
https://github.com/wardbox/spotishell
powershell powershell-core powershell-gallery powershell-module powershell-modules powershell-script powershell-scripts spotify spotify-api spotify-web-api
Last synced: 3 months ago
JSON representation
A powershell module used to interact with the Spotify API
- Host: GitHub
- URL: https://github.com/wardbox/spotishell
- Owner: wardbox
- License: mit
- Created: 2018-12-13T01:52:38.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-09-05T06:49:41.000Z (over 1 year ago)
- Last Synced: 2024-09-29T04:20:42.050Z (3 months ago)
- Topics: powershell, powershell-core, powershell-gallery, powershell-module, powershell-modules, powershell-script, powershell-scripts, spotify, spotify-api, spotify-web-api
- Language: PowerShell
- Homepage:
- Size: 258 KB
- Stars: 43
- Watchers: 3
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - wardbox/spotishell - A powershell module used to interact with the Spotify API (PowerShell)
README
# Spotishell
### A powershell module used to interact with the Spotify API.
It handles all Spotify Web API endpoints including control of players (https://developer.spotify.com/documentation/web-api/reference/)
## Prerequisites
* [A spotify premium account and a registered app](https://developer.spotify.com/documentation/web-api/quick-start/)
* PowerShell 5.0 or later
* A cup of coffee or a nice tea## Setup
1. Install from PSGallery
```powershell
Install-Module Spotishell
```2. Import module
```powershell
Import-Module Spotishell
```
3. List commands available in the module. Familiarize yourself with these.
```powershell
Get-Command -Module Spotishell
```
4. Set up your credential (use keys from your registered app referenced in the prerequisites)
```powershell
New-SpotifyApplication -ClientId "blahblahblah" -ClientSecret "blahblahblahblah"
```
5. Add "http://localhost:8080/spotishell" as a redirect URL in your Spotify app settings
[spotify developer Dashboard](https://developer.spotify.com/dashboard)6. Give it a whirl!
```powershell
Start-Playback -TrackUris @('spotify:track:4juzduULFJiZVIcrC1tkxE') # Start Banquet of Bloc Party on the first available device
Search-Item -Query 'Bloc Party' -Type Artist # look for Bloc Party artist
```
7. Enjoy the music and bountiful data :^)```
"Music is the silence between the notes"
- Claude Debussy
```## Help
See [HELP](https://github.com/wardbox/spotishell/blob/master/HELP.md) for
the synopsis, syntax, and parameters for each of the cmdlets.If you feel so inclined, [buy me a coffee](https://www.buymeacoffee.com/wardbox)