Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm tracks get-ids

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

Synopsis

Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Track-getTrackIDs

cm tracks get-ids [flags]

Examples

  cm tracks get-ids --platform=chartmetric --id=22290726
  cm tracks get-ids --platform=spotify --id=2l43JVVlZ267CY6CICYt7T

Options

      --platform string   The platform a specific track id is from. Allowed values: 'chartmetric', 'isrc', 'amazon', 'beatport', 'deezer', 'genius', 'itunes', 'shazam', 'spotify', 'soundcloud', 'tiktok', 'qq', 'youtube', 'tivo'
      --id string         The track id from a specific platform (e.g. Spotify track id for the 'spotify' platform/domain, Amazon Music track id for the 'amazon' platform/domain, ...).
  -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 tracks - Lookup information related to tracks
Auto generated by spf13/cobra on 28-Aug-2024