Skip to content

Commit

Permalink
add demo section with V1 and V2 SVG badge examples to README
Browse files Browse the repository at this point in the history
  • Loading branch information
AmarnathCJD committed Nov 2, 2024
1 parent a5a991e commit 11379af
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ A simple script to generate an SVG badge for your Spotify now playing status.

- can use in github readme (eg;- <a href='https://github.com/amarnathcjd'>check my profile</a>)

## Demo

### V1

![Spotify Now Playing](https://spotify-now-playing-psi-silk.vercel.app/api/current-playing?svg=true&s=1)

### V2

![Spotify Now Playing](https://spotify-now-playing-psi-silk.vercel.app/api/current-playing?svg=true&v=2&s=1)


## Requirements

- sp_dc: copy the `sp_dc` cookie from `open.spotify.com` and set it as an environment variable ('SPOTIFY_COOKIE')
Expand Down

0 comments on commit 11379af

Please sign in to comment.