Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm tracks milestones

Get the milestones for a specific track.

Synopsis

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

cm tracks milestones [flags]

Examples

  cm tracks milestones --id=83623687
  cm tracks milestones --id=22290726 --stars=4,5 --platforms=spotify,apple_music --grouped=true

Options

      --id string              Chartmetric track id
      --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')
      --limit string           Maximum number of results to be returned
      --offset string          Offset of entries to be returned
      --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 tracks - Lookup information related to tracks
Auto generated by spf13/cobra on 28-Aug-2024