Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm artists top-tracks

Get top tracks by platform for a specific artist.

Synopsis

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

cm artists top-tracks [flags]

Examples

  cm artists top-tracks --id=1820
  cm artists top-tracks --id=2762 --limit=100

Options

      --id string      Chartmetric artist id
      --limit string   Maximum number of results to be returned. Allowed values: 10 to 100 (default: 10).
  -h, --help           help for top-tracks

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