Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 848 Bytes

README.md

File metadata and controls

41 lines (34 loc) · 848 Bytes

Spotify Canvas Downloader

Tool to get Canvas cover videos from Spotify tracks.

Building

  • Clone the repository
    git clone https://github.com/Delitefully/spotify-canvas-downloader
  • Configure the env variables
    mv env.example .env
  • Build the image using Docker Compose
    docker-compose up

Development

Recompile protocol buffer proto (useful when upgrading protobuff):

protoc ./protos/canvas.proto  --python_out=./src/

Requires the Protocol Buffers package.

API

GET /api/canvas/:trackId

Returns

{
    "success": boolean
    "canvas_url": string, if success is 'true'
    "message": string, error message if success is 'false'
}