Lookup fan metrics for a specific artist from various platforms.
Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Artist-GetArtistorStat
cm artists fan-metrics [flags]
cm artists fan-metrics --id=439 --platform=instagram
cm artists fan-metrics --id=07YZf4WDAMNwqr4jfgOZ8y --platform=spotify --isDomainId=true
--id string Chartmetric artist id
--platform string Filter by streaming platform (aka "source" in API). Allowed values: 'spotify', 'deezer', 'facebook', 'twitter', 'instagram', ...
--field string Filter by a specific statistic from the source. See API documentation for available values.
--since string Start date in ISO date format YYYY-MM-DD (default: 180 days ago)
--until string End date in ISO date format YYYY-MM-DD (defaults to today, maximum is 365 days from the since date)
--latest string If true, returns the latest data point available regardless of date. Allowed values: 'true', 'false'
--interpolated string If true, returns interpolated data (aka approximated data) for missing data. Allowed values: 'true', 'false' (default: 'false')
--isDomainId string If true, the 'artist_id' will be treated as a platform/domain id (e.g. Spotify artist id). If false, the 'artist_id' will be treated as a Chartmetric artist id. Allowed values: 'true', 'false' (default: 'false')
--code2 string Filter by artist's country code in ISO Alpha-2 format.
--city_id string Filter by a Chartmetric city id.
-h, --help help for fan-metrics
-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)