A wrapper for iTunes Search API
Project description
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
The install process is currently screwed, as I am new to Python and don’t understand packaging very well. It seems complicated. Will fix. Meanwhile, import the file manually.
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
coverpy-0.0.3.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for coverpy-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 220fc828cdd8c9c333178a96998bfdc38c16cd3ac6d5c58280accfba55e1eb11 |
|
MD5 | 1ac8fd5ca31c4a002e9c35c2ccde8481 |
|
BLAKE2b-256 | 3acea817abf7701e266ba567912dc0972e565c0a69b0d906859b839493d598ff |