Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm playlists snapshot

Get the last updated timestamps for a specific playlist.

Synopsis

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

cm playlists snapshot [flags]

Examples

  cm playlists snapshot --platform=spotify --id=179228 --date=2018-10-01

Options

      --platform string     Streaming platform. Allowed values: 'spotify', 'applemusic', 'deezer', 'amazon'.
      --id string           Chartmetric playlist id or the platform playlist id. Format of the id varies across platforms (see API documentation).
      --date string         The date of the playlist snapshot.
      --storefront string   Apple Music Storefront (required when platform=applemusic). Allowed values: 'us', 'ca', 'br', 'de', 'gb', ...
  -h, --help                help for snapshot

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