Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm tracks charts

Get the charts for a specific track.

Synopsis

Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Track-getTrackCharts

cm tracks charts [flags]

Examples

  cm tracks charts --id=84275938 --type=spotify_top_daily

Options

      --id string      Chartmetric track id
      --type string    The chart type. Allowed values: 'amazon', 'beatport', 'spotify_viral_daily', 'applemusic_top', ...
      --since string   Start date in ISO date format YYYY-MM-DD (default: 180 days ago) (default "2024-03-01")
      --until string   End date in ISO date format YYYY-MM-DD (defaults to today, maximum is 365 days from the since date)
  -h, --help           help for charts

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