Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm cities top-tracks

Get top 100 tracks for this city.

Synopsis

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

cm cities top-tracks [flags]

Examples

  cm cities top-tracks --id=7060 --platform=youtube

Options

      --id string         Chartmetric city id
      --platform string   Filter by streaming platform (aka "source" in API). Allowed values: 'youtube', 'radio', 'shazam'
  -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 cities - Lookup top artists and top tracks for cities
Auto generated by spf13/cobra on 28-Aug-2024