Get insights for artists on Spotify Charts for a specific date.
Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Charts-GetSpotifyArtistsChart
cm charts spotify-artists [flags]
cm charts spotify-artists --type=monthly_listeners --interval=monthly --latest=true
cm charts spotify-artists --type=popularity --interval=daily --date=2024-05-21
--date string Charting date in ISO date format YYYY-MM-DD. Required unless 'latest' flag is true.
--type string The chart type to return. Allowed values: 'monthly_listeners', 'popularity', 'followers', 'playlist_count', 'playlist_reach'.
--interval string The time interval/period for the chart. Allowed values: 'daily', 'weekly', 'monthly'.
--offset string Each response has a max limit of results. Use this to paginate through the results.
--latest string If true, returns the latest data point available regardless of date. Allowed values: 'true', 'false'
-h, --help help for spotify-artists
-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)