Skip to content

v0.6.0 — analytics rankings, social & UGC, Amazon Music

Choose a tag to compare

@tommie-lg tommie-lg released this 05 Aug 09:49
16b2d36

Coordinated release: @labelgrid/mcp 0.6.0 · @labelgrid/cli 0.3.1 · @labelgrid/core 0.2.1

Highlights

  • New tool: get_analytics_rankings. Top-N rankings for a window, ordered by summed streams. view: 'leaderboards' ranks top artists, tracks or albums (type required); view: 'placements' ranks the playlists and radio containers driving streams.
  • New tool: get_rate_limit. The account's API rate budget per category, with the ceiling, the remaining allowance and the window reset.
  • 47 analytics section keys (was 37). Eight social and UGC sections — social-usage-over-time, social-reach-over-time, social-platform-mix, social-top-tracks, social-territory, social-artist-reach, social-artist-reach-daily, soundcloud-engagement — plus two per-track daily series, track-streams-daily and track-listeners-daily (these need a release_id, isrc or upc scope).
  • New ugc_platform filter narrows the social and UGC sections. Those sections report their own availability in meta.social_availability; the streaming availability matrix does not cover them. A use, a view and a play are distinct quantities and are never summed with each other or with streams.
  • 11 platform filters (was 10): adds AMAZON, accepted by get_analytics and get_analytics_rankings and listed by the CLI's --platform help.
  • Fees in query_financials concise mode. labelgrid_fee, platform_fee_usd, ugc_fee_usd, labelgrid_rate and labelgrid_ugc_rate now survive the default response mode — previously a fee was visible only with response_format: 'detailed'.

No breaking changes.

Note on track-listeners-daily: it sums each platform track entry's daily count. Where a track exists as more than one entry it is not a distinct count of people, and it is not summable across dates.

See each package's CHANGELOG for details.