Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm cities list

Get a list of cities covered, for a specific country code. Response payloads may be large depending on the country.

Synopsis

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

cm cities list [flags]

Examples

  cm cities list --country_code=US
  cm cities list --country_code=DE

Options

      --country_code string   Filter by country code in ISO Alpha-2 format. Allowed values: 'US', 'JP', 'DE', 'CA', ...
  -h, --help                  help for list

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 cities - Lookup top artists and top tracks for cities
Auto generated by spf13/cobra on 28-Aug-2024