Chartmetric CLI

A command line tool for accessing the Chartmetric API.

Search artists, tracks, playlists, and more with one query (wrap multiple words in quotes)

Synopsis

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

cm search <query> [flags]

Examples

  cm search "rick astley"
  cm search "ariana grande" --type=artists

Options

      --limit string    Maximum number of results to be returned
      --offset string   Offset of entries to be returned
      --type string     Type of search, default 'all', allowed values: [all, artists, tracks, playlists, curators, albums, stations, cities, songwriters]
  -h, --help            help for search

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 - The command line tool for the Chartmetric API.
Auto generated by spf13/cobra on 28-Aug-2024