Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm charts twitch

Get insights for users on Twitch Charts.

Synopsis

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

cm charts twitch [flags]

Examples

  cm charts twitch --since=2024-06-09 --duration=daily --type=followers
  cm charts twitch --duration=weekly --type=viewer_hours --latest=true

Options

      --date string       Charting date in ISO date format YYYY-MM-DD (default: latest chart)
      --duration string   The duration of the chart. Allowed values: 'daily', 'weekly', 'monthly'
      --type string       The chart type to return. Allowed values: 'followers', 'viewer_hours'.
      --since string      Start date in ISO date format YYYY-MM-DD
      --latest string     If true, returns the latest data point available regardless of date. Allowed values: 'true', 'false' (default "true")
      --limit string      Maximum number of results to be returned (default: 200). (default "200")
  -h, --help              help for twitch

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