Get insights for tracks, albums, trends, or videos on iTunes Charts.
Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Charts-GetiTunesChart
cm charts itunes [flags]
cm charts itunes --type=tracks --country_code=US --genre=Rock --latest=true
cm charts itunes --type=videos --country_code=US --date=2022-08-03
--type string The chart type (aka "chart-type" in API) to return. Allowed values: 'tracks', 'albums', 'videos'.
--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.
--genre string The chart genre (only used for track and album charts). Allowed values: 'All Genres', 'Pop', 'Rock', 'Dance', ...
--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 itunes
-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)