https://github.com/thomas-basham/spotify-cover-art-serverless-function
A serverless API used to retrieve an image src for any song on Spotify. Built with Python and Vercel.
https://github.com/thomas-basham/spotify-cover-art-serverless-function
serverless spotify
Last synced: 4 months ago
JSON representation
A serverless API used to retrieve an image src for any song on Spotify. Built with Python and Vercel.
- Host: GitHub
- URL: https://github.com/thomas-basham/spotify-cover-art-serverless-function
- Owner: Thomas-Basham
- Created: 2022-08-04T17:12:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-04T19:35:26.000Z (almost 3 years ago)
- Last Synced: 2024-12-31T00:43:50.602Z (6 months ago)
- Topics: serverless, spotify
- Language: Python
- Homepage: https://spotify-cover-art-serverless-function.vercel.app/api/spotify-data?spotifyurl=https://open.spotify.com/track/3gdewACMIVMEWVbyb8O9sY?si=54f5722a4c5f482e
- Size: 5.36 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spotify Cover-art Serverless Function
[](https://github.com/Thomas-Basham/spotify-cover-art-serverless-function/actions/workflows/python-app.yml)
## **Author:** Thomas Basham
### Description
This API is programmed so that you can Spotify data from any song.
I'm using it to retrieve the cover art, however it's also useful to
retrieve html for an iFrame with a Spotify media player for that song.## Deployed Functions
[https://spotify-cover-art-serverless-function.vercel.app/api/spotify-data?spotifyurl= < Spotify Song Link here > ](https://spotify-cover-art-serverless-function.vercel.app/api/spotify-data?spotifyurl=https://open.spotify.com/track/3gdewACMIVMEWVbyb8O9sY?si=54f5722a4c5f482e)
## How to use
**Copy This link to get Spotify Song Link**
Then send a http GET request (or just enter into your browser)
https://spotify-cover-art-serverless-function.vercel.app/api/spotify-data?spotifyurl= < Spotify Song Link >
## Resources
[Vercel](https://vercel.com/docs/concepts/functions/serverless-functions/supported-languages#python)[Vercel Cli](https://vercel.com/docs/concepts/deployments/overview#vercel-cli)