Socket
Socket
Sign inDemoInstall

coverpy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coverpy

A wrapper for iTunes Search API


Maintainers
1

coverpy

Build Status Build Status

Small wrapper for the iTunes API; mostly for fetching album covers. Will soon be transferred over to Mxious, as it was built for it.

Docs need to be done, I know. Been busy.

Install

This library requires Python 3.0+. It might work, but proceed with caution. pip install coverpy For development installs: make install

Testing

We have a Travis CI instance that unit tests automatically on commits. To run code coverage tests and unit tests, run: make test

Usage

Usage is very simple:

# Instance CoverPy
coverpy = coverpy.CoverPy()
# Set a limit. There is a default (1), but I set it manually to showcase usage.
limit = 1
# Get results. Returns a Result object.
result = coverpy.get_cover("OK Computer", limit)

# Set a size for the artwork (first parameter) and get the result url.
print result.artwork(100)

Keywords

FAQs


Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc