Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 714 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 714 Bytes

music-share

Small service to share music between different providers (spotify and yandex music as example). You can pass link to a track/album/artist and get links for this entity in other music services (see example below)

Example API request:

localhost:4000/link?url=https://music.yandex.ru/artist/312625

Response:

{
  "spotify": "https://open.spotify.com/artist/7kxOVclB0zQamtBR0syCrg",
  "yandex": "https://music.yandex.ru/artist/312625"
}

You need to provide Spotify credentials (see Client Credentials Flow)

.env should look like this:

SPOTIFY_CREDENTIALS=xxx

where xxx is your credentials