A wrapper for iTunes Search API
Project description
# 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.
## 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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file coverpy-0.0.4.tar.gz
.
File metadata
- Download URL: coverpy-0.0.4.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f4910e1d09332dacb4eea068ffc79f3d0c008e9f338a058f2f1b7d80c54da3d |
|
MD5 | 275ea834d017344a9ee8a1401bb45d54 |
|
BLAKE2b-256 | ec868ca377e2b1b31a9a31b00088c28fac5c4bb87fd17e0ba0ed9bbc6486155f |
File details
Details for the file coverpy-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: coverpy-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71e597c822740935726e171a6b27111813bf07317c530172f0db31a74583704a |
|
MD5 | 886af6eeea0e7e7a798ad006cad6bdcc |
|
BLAKE2b-256 | 6214cfe1fab93deeca408d9128c35240d56277218a41ce2eb4b9ae39830f489b |