Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm artists social-audience

Get the Social Audience Analysis and Statistics for a specific artist.

Synopsis

Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Artist-GetSocialAudienceStat

cm artists social-audience [flags]

Examples

  cm artists social-audience --id=72449 --platform=instagram --audienceType=followers --statsType=demographic --since=2023-12-27
  cm artists social-audience --id=231 --platform=youtube --audienceType=commenters --statsType=stat --since=2024-05-21

Options

      --id string             Chartmetric artist id
      --platform string       Filter by social platform (aka "domain" in API). Allowed values: 'instagram', 'youtube', 'tiktok'
      --audienceType string   A specific audience type for a specific platform (refer to API documentation for more info).
      --statsType string      A specific statistic type for a specific platform (refer to API documentation for more info).
      --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)
      --limit string          Maximum number of results to be returned
      --offset string         Offset of entries to be returned
  -h, --help                  help for social-audience

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 artists - Lookup information related to artists
Auto generated by spf13/cobra on 28-Aug-2024