coverpy-0.0.4
توضیحات
A wrapper for iTunes Search API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | coverpy-0.0.4 |
| نام | coverpy |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | fallenshell |
| ایمیل نویسنده | dev@mxio.us |
| آدرس صفحه اصلی | UNKNOWN |
| آدرس اینترنتی | https://pypi.org/project/coverpy/ |
| مجوز | MIT License |
# coverpy
[](https://travis-ci.org/fallenshell/coverpy) [](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)
نحوه نصب
نصب پکیج whl coverpy-0.0.4:
pip install coverpy-0.0.4.whl
نصب پکیج tar.gz coverpy-0.0.4:
pip install coverpy-0.0.4.tar.gz