Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm artists tracks

Get tracks by a specific artist. Includes tracks where this artist is the primary artist and/or a featured artist.

Synopsis

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

cm artists tracks [flags]

Examples

  cm artists tracks --id=1820
  cm artists tracks --id=206557 --type=featured

Options

      --id string       Chartmetric artist id
      --type string     The type (aka "artist_type" in API) of artist. Omitting this will return both types of artists. Allowed values: 'main', 'featured'.
      --limit string    Maximum number of results to be returned.
      --offset string   Each response has a max limit of results. Use this to paginate through the results.
  -h, --help            help for 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