Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm playlists stats

Get various statistics for a specific playlist.

Synopsis

Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Playlist-GetPlaylistStats

cm playlists stats [flags]

Examples

  cm playlists stats --platform=spotify --id=179228 --since=2023-06-09 --until=2023-06-17

Options

      --platform string   Streaming platform. Allowed values: 'spotify', 'deezer', 'youtube'.
      --id string         Chartmetric playlist id or the platform playlist id. Format of the id varies across platforms (see API documentation).
      --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)
  -h, --help              help for stats

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

Auto generated by spf13/cobra on 28-Aug-2024