https://github.com/bwsix/spotify-api
a restful api implementation of a spotify api client, bruh
https://github.com/bwsix/spotify-api
Last synced: over 1 year ago
JSON representation
a restful api implementation of a spotify api client, bruh
- Host: GitHub
- URL: https://github.com/bwsix/spotify-api
- Owner: BWsix
- Created: 2021-10-23T13:29:44.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-25T05:30:05.000Z (about 4 years ago)
- Last Synced: 2024-04-24T03:22:52.022Z (over 2 years ago)
- Language: TypeScript
- Homepage: https://spotify-api-vflc.vercel.app
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spotify Api
A rest api implementation of [thelinmichael][thelinmichael]'s [spotify-web-api-node][spotify-web-api-node]
[thelinmichael]: https://github.com/thelinmichael
[spotify-web-api-node]: https://github.com/thelinmichael/spotify-web-api-node
# Table of Contents
- [About](#about)
- [Api Reference](#docs)
- [Search](#docs_search)
- [Album](#docs_artist)
- [Artist](#docs_album)
- [Track](#docs_track)
- [User](#docs_user)
Spotify Api.
Base address of api : `https://spotify-api-vflc.vercel.app/api`
### search things on spotify
#### **Get** `/search/{query string}`
or
#### **Post** `/search`
| FIELD | TYPE | REQUIRED | DESCRIPTION |
| :-----: | :---------: | :------: | :-------------------------------------------------------------------------------------- |
| query | string | Yes | `query` is the thing that goes into the search bar |
| types | string[] | No | You can choose type(s) from "album", "artist", "playlist", "track", "show", "episode"]. |
| options | ¯\\_(ツ)_/¯ | No | Just read the docs http://michaelthelin.se/spotify-web-api-node/#search |
### get album
#### **Get** `/album/{albumId}`
### get cover
#### **Get** `/album/{albumId}/cover`
return : cover image in `jpeg` format
### get tracks in album
#### **Post** `/album/{albumId}/tracks`
### get artist
#### **Get** `/artist/{artistId}`
### get artist's albums
#### **Post** `/artist/{artistId}/albums`
### get artist's related artists
#### **Get** `/artist/{artistId}/relatedArtists`
### get artist's top tracks
#### **Post** `/artist/{artistId}/topTracks`
### get track
#### **Get** `/track/{trackId}`
### get preview
#### **Get** `/track/{trackId}/preview`
### get cover
#### **Get** `/track/{trackId}/cover`
return : cover image in `jpeg` format
### get audio analysis
#### **Get** `/track/{trackId}/audioAnalysis`
### get audio features
#### **Get** `/track/{trackId}/features`
### get user
#### **Get** `/user/{userId}`
### get user playlists
#### **Post** `/user/{userId}/playlists`