simple Python library for retrieving data from chartmetric.com
Project description
py_chartmetric_api
py_chartmetric_api is a simple Python library for retrieving data from chartmetrics.com.
Requirements
- Python 3.9 or later
Installation
$ pip install py_chartmetric_api
Usage
import py_chartmetric_api
# returns first 100 artists that had a first relaase 30 days ago or less
py_chartmetric_api.artist.get_artists_with_filters(0, 100, {"firstReleaseDaysAgo": "30"})
# returns 300 artists that have between 1000 and 100000 spotify followers
py_chartmetric_api.artist.get_artists_by_stats("sp_followers", 1000, 100000, 300)
Refer to examply.py for a more in-depth example
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_chartmetric_api-0.1.0.tar.gz.
File metadata
- Download URL: py_chartmetric_api-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.7 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4963235efd5cf390bffadf5bc6db123b220c15fe4fe257bf00b1ff613ad9783
|
|
| MD5 |
2bec0ec5f940e4e0fd1713904f328f7e
|
|
| BLAKE2b-256 |
5854eae54e78c502248e9d945c16075d34b027a52f88fa887bc467723b017349
|
File details
Details for the file py_chartmetric_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: py_chartmetric_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.7 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
379da126902dc9d6e98c3c756e97775271b4fc2835f20ad639915b2baadbb9aa
|
|
| MD5 |
a7f9aeacf79f29573b72ef546b8e083d
|
|
| BLAKE2b-256 |
ec7590c06f20c4e8a9e2c660e4278227a34b6f38a720a6d3ebe6250001412b97
|