An open API service indexing awesome lists of open source software.

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

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)

# About

Spotify Api.

# Api Reference

Base address of api : `https://spotify-api-vflc.vercel.app/api`

## Search

### 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 |

## Album

### 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`

## Artist

### 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`

## Track

### 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`

## User

### get user

#### **Get** `/user/{userId}`

### get user playlists

#### **Post** `/user/{userId}/playlists`