Socket
Socket
Sign inDemoInstall

spotify-cover-fetch

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    spotify-cover-fetch

Fetch cover art from Spotify


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

spotify-cover-fetch

This program fetches cover art from Spotify, because over a year ago, when I still had a local music collection, I got really bummed out about only finding the cover art on there and not through various image searches. Now I have the skills to make this, but no need for it; maybe someone does.

Installation

# npm i -g spotify-cover-fetch

Usage

spotify-cover-fetch should work with any validish Spotify IDs, meaning that it will work for anything containing something similar to track:6PVfRMTytzNlq9P1BP3Jl0. This will allow usage with all Spotify URLs I'm aware of - play., open. and spotify: - but I recommend the latter because it won't contain any weird characters, hopefully.

Examples:
Command-line:
$ spotify-cover-fetch spotify:track:6PVfRMTytzNlq9P1BP3Jl0
...with multiple URLs:
$ spotify-cover-fetch spotify:track:6PVfRMTytzNlq9P1BP3Jl0 spotify:album:4GMgNPA4fMv3U0QQsdRLJk
As a module:
var scf = require('spotify-cover-fetch')
scf('spotify:track:6PVfRMTytzNlq9P1BP3Jl0')
...with multiple URLs:
var scf = require('spotify-cover-fetch')
scf(['spotify:track:6PVfRMTytzNlq9P1BP3Jl0', 'spotify:album:4GMgNPA4fMv3U0QQsdRLJk'])

License

Uses the LGPL-3.0, a.k.a. use it, modify it, contribute back, keep it open.

Keywords

FAQs

Last updated on 26 Sep 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc