Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A python wrapper for the Soundcloud Chart API

Project description

soundcloud-charts-api

A python wrapper for the Soundcloud Charts API.

NOTE: This is a wrapper for a public, undocumented API.

Getting Started

Documentation

Find full documentation of the project here: https://soundcloud-charts-api.readthedocs.io

Dependencies

Installing

python setup.py install

or

pip install soundcloud-charts-api

Example

from soundcloudcharts import SoundCloudCharts

sc = SoundCloudCharts()
chart_data = sc.get_chart(region='us', limit=10)

for i, item in enumerate(chart_data['collection']):
    print('{0}: {1} - {2}'.format(str(i+1), 
                                  item['track']['user']['username'], 
                                  item['track']['title']))

API Parameters

KIND:

  • top
  • trending (New & Hot)

GENRE:

  • all-music
  • all-audio
  • alternativerock
  • ambient
  • classical
  • country
  • danceedm
  • dancehall
  • deephouse
  • disco
  • drumbass
  • dubstep
  • electronic
  • folksingersongwriter

REGION:

  • au (Australia)
  • ca (Canada)
  • fr (France)
  • de (Germany)
  • ie (Ireland)
  • nl (Netherlands)
  • nz (New Zealand)
  • gb (Great Britain)
  • us (United States)

Versioning

  • v1.0.1 - Initial Release - 08/18/2019
  • v1.0.2 - Fixed bug when using proxies - 08/19/2019

Authors

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for soundcloud-charts-api, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size soundcloud_charts_api-1.0.2-py3-none-any.whl (5.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size soundcloud-charts-api-1.0.2.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page