Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm charts youtube

Get insights for tracks, albums, trends, or videos on YouTube Charts.

Synopsis

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

cm charts youtube [flags]

Examples

  cm charts youtube --type=artists --country_code=US --latest=true
  cm charts youtube --type=tracks --country_code=JP --date=2020-02-06

Options

      --type string           The chart type (aka "chart_type" in API) to return. Allowed values: 'tracks', 'artists', 'videos', 'trends'.
      --country_code string   Filter by country code in ISO Alpha-2 format. Allowed values: 'US', 'JP', ...
      --date string           Charting date in ISO date format YYYY-MM-DD.
      --offset string         Offset of entries to be returned
      --latest string         If true, returns the latest data point available regardless of date. Allowed values: 'true', 'false' (default "true")
  -h, --help                  help for youtube

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 charts - Lookup rankings for tracks and albums on various charts
Auto generated by spf13/cobra on 28-Aug-2024