Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm artists monthly-listeners

Get Spotify’s “Where People Listen” statistics for a specific artist, showing cities on each day

Synopsis

Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Artist-GetWherePeopleListenInsights

cm artists monthly-listeners [flags]

Examples

  cm artists monthly-listeners --id=755 --since=2023-06-17
  cm artists monthly-listeners --id=22 --latest=true

Options

      --id string       Chartmetric artist id
      --since string    Start date in ISO date format YYYY-MM-DD (default: 180 days ago)
      --until string    End date in ISO date format YYYY-MM-DD (defaults to today, maximum is 365 days from the since date)
      --limit string    Maximum number of results to be returned
      --offset string   Offset of entries to be returned
      --latest string   If true, returns the latest data point available regardless of date (and since/until parameters will be ignored). Allowed values: 'true', 'false'
  -h, --help            help for monthly-listeners

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 artists - Lookup information related to artists
Auto generated by spf13/cobra on 28-Aug-2024