Chartmetric CLI

A command line tool for accessing the Chartmetric API.

cm radio airplays

Lookup the total radio airplays for a specific asset (artist, album, or track) by an entity (country, city, station, track).

Synopsis

Full API endpoint documentation at https://api.chartmetric.com/apidoc/#api-Radio-GetRadioAirplayTotalsEntity

cm radio airplays [flags]

Examples

  cm radio airplays --type=artist --id=3079 --entity=country --since=2024-06-17
  cm radio airplays --type=track --id=50621806 --entity=station --since=2024-06-17

Options

      --type string         The content asset type for a specific asset id. Allowed values: 'artist', 'track', 'album'
      --id string           Chartmetric id for the specific asset (e.g. artist_id, track_id, album_id).
      --entity string       The entity to retrieve results for. Allowed values: 'country', 'city', 'station', 'track'
      --since string        Start date in ISO date format YYYY-MM-DD.
      --station string      Specify a Chartmetric radio station id to filter results to a single radio station.
      --limit string        Maximum number of results to be returned (default: 10, maximum: 100).
      --dateFormat string   The format to return date values. Allowed values: 'ISO', 'UNIX' (default: 'ISO'). When ISO, dates are formatted as 'YYYY-MM-DD'. When UNIX, dates are formatted as UTC-based Unix time (aka epoch).
  -h, --help                help for airplays

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