Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm playlists last-updated

Get the last updated timestamps for a specific playlist.

Synopsis

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

cm playlists last-updated [flags]

Examples

  cm playlists last-updated --platform=spotify --id=848051
  cm playlists last-updated --platform=deezer --id=63141574
  cm playlists last-updated --platform=applemusic --id=76761 --storefront=us

Options

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

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