Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm albums charts

Get the charts for this album.

Synopsis

Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Album-getAlbumCharts

cm albums charts [flags]

Examples

  cm albums charts --platform=applemusic --id=35317628 --since 2024-06-01 --until 2024-06-30

Options

      --platform string   The chart platform (aka "type" in API). Allowed values: 'applemusic', 'itunes', 'amazon'
      --id string         Chartmetric album 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)
  -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 albums - Lookup information related to albums
Auto generated by spf13/cobra on 28-Aug-2024