Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm playlists list

Lookup a list of playlists based on various params.

Synopsis

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

cm playlists list <platform> [flags]

Examples

  cm playlists list
	cm playlists list spotify --majorCurator=false --editorial=false --sortColumn=followers --limit=20

Options

      --platform string         Filter by streaming platform. Allowed values: 'spotify', 'itunes', 'deezer', 'amazon', 'youtube' (default: 'spotify') (default "spotify")
      --sortColumn string       Sort results by a specific metric (varies by platform)
      --sortOrderDesc string    Sort results in descending order. Allowed values: 'true', 'false' (default: 'true')
      --code2 string            Filter by artist's country code in ISO Alpha-2 format
      --limit string            Maximum number of results to be returned
      --offset string           Offset of entries to be returned
                                
                                
      --tags string             Filter by a comma-separated list of Chartmetric genre tag ids
      --curators string         Filter by a comma-separated list of Chartmetric curator ids
      --indie string            Filter by indie playlists, boolean value (true/false)
      --majorCurator string     Filter by playlists curated by a Major label or affiliate, boolean value (true/false)
      --editorial string        Filter by editorial playlists, boolean value (true/false)
      --newMusicFriday string   Filter by Spotify's New Music Friday playlists, boolean value (true/false)
      --shortlists string       Filter by a comma-separated list of Chartmetric shortlist ids
  -h, --help                    help for list

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