Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm artists get-ids

Get linked artist ids for the various music platforms (e.g. Spotify, Apple Music, Amazon Music, …) for this artist.

Synopsis

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

cm artists get-ids [flags]

Examples

  cm artists get-ids --platform=chartmetric --id=1054

Options

      --platform string   The platform a specific artist id is from. Allowed values: 'chartmetric', 'spotify', 'itunes', 'deezer', 'amazon', 'youtube', 'tivo'
      --id string         The artist id from a specific platform (e.g. Spotify artist id for the 'spotify' platform/domain, Amazon Music artist id for the 'amazon' platform/domain, ...). When platform=youtube this should be the YouTube channel id and not the YouTube artist id.
      --limit string      Maximum number of results to be returned
      --offset string     Offset of entries to be returned
  -h, --help              help for get-ids

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 artists - Lookup information related to artists
Auto generated by spf13/cobra on 28-Aug-2024