A wrapper for iTunes Search API
# coverpy [![Build Status](https://travis-ci.org/fallenshell/coverpy.svg?branch=master)](https://travis-ci.org/fallenshell/coverpy) [![Build Status](https://travis-ci.org/fallenshell/coverpy.svg?branch=develop)](https://travis-ci.org/fallenshell/coverpy)
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.
This library requires Python 3.0+. It might work, but proceed with caution.
pip install coverpy
For development installs:
We have a Travis CI instance that unit tests automatically on commits. To run code coverage tests and unit tests, run:
## 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)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|coverpy-0.0.4-py2.py3-none-any.whl (8.3 kB) Copy SHA256 Checksum SHA256||3.5||Wheel||May 22, 2016|
|coverpy-0.0.4.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256||–||Source||May 22, 2016|