Skip to main content

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

MIT

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

py_chartmetric_api-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_chartmetric_api-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

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

Hashes for py_chartmetric_api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4963235efd5cf390bffadf5bc6db123b220c15fe4fe257bf00b1ff613ad9783
MD5 2bec0ec5f940e4e0fd1713904f328f7e
BLAKE2b-256 5854eae54e78c502248e9d945c16075d34b027a52f88fa887bc467723b017349

See more details on using hashes here.

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

Hashes for py_chartmetric_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 379da126902dc9d6e98c3c756e97775271b4fc2835f20ad639915b2baadbb9aa
MD5 a7f9aeacf79f29573b72ef546b8e083d
BLAKE2b-256 ec7590c06f20c4e8a9e2c660e4278227a34b6f38a720a6d3ebe6250001412b97

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page