Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm charts soundcloud

Get insights for the top tracks on SoundCloud for a specific day in a specific country.

Synopsis

Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Charts-GetSoundCloudChart

cm charts soundcloud [flags]

Examples

  cm charts soundcloud --country_code=DE --latest=true
  cm charts soundcloud --country_code=US --kind=trending --genre=pop --date=2019-02-01 --genre=all-music

Options

      --country_code string   Filter by country code in ISO Alpha-2 format. Allowed values: 'GLOBAL', 'US', 'CA', 'DE', 'GB', 'IE', 'FR', 'NL', 'AU', 'NZ'
      --date string           Charting date in ISO date format YYYY-MM-DD. Required unless 'latest' flag is true.
      --type string           The chart type (aka "kind" in API) to return. Allowed values: 'top', 'trending'.
      --genre string          The chart genre. Allowed values: 'all-music', 'rock', 'house', 'pop', ...
      --offset string         Each response has a max limit of results. Use this to paginate through the results.
      --raw string            If true, returns a faster response without peak_rank and peak_date. Allowed values: 'true', 'false' (default: true).
      --latest string         If true, returns the latest data point available regardless of date. Allowed values: 'true', 'false'
  -h, --help                  help for soundcloud

Options inherited from parent commands

  -d, --debug                  Display debug output in the console (default: false)
  -r, --refresh_token string   Chartmetric API Refresh Token to use (overrides config file token; does not save)
  -V, --verbose                Show additional details only when displaying debug info (default: false)

SEE ALSO

  • cm charts - Lookup rankings for tracks and albums on various charts
Auto generated by spf13/cobra on 28-Aug-2024