Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm artists milestones

Get the milestones for this artist.

Synopsis

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

cm artists milestones [flags]

Examples

  cm artists milestones --id=206557
  cm artists milestones --id=206557 --stars=4,5 --platforms=amazon,apple_music,spotify --grouped=true

Options

      --id string              Chartmetric artist id
      --limit string           Maximum number of results to be returned
      --offset string          Offset of entries to be returned
      --daysAgo string         Offset of entries to be returned
      --sortColumn string      Sort results by a specific property. Allowed values: 'date', 'stars' (default: 'date')
      --sortOrderDesc string   Sort results in descending order (default: 'true')
      --grouped string         Whether to return results grouped or not. Allowed values: 'true', 'false' (default: 'false')
      --stars string           Comma-separated list of star ratings to filter by. Allowed values: '1', '2', '3', '4', '5'
      --platforms string       Comma-separated list of platforms. Allowed values: 'amazon', 'apple_music', 'beatport', 'spotify', ... (default: 'spotify') (default "spotify")
  -h, --help                   help for milestones

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