Skip to content

v0.5.0 — expanded analytics

Choose a tag to compare

@tommie-lg tommie-lg released this 27 Jul 20:18
· 29 commits to main since this release

Coordinated release: @labelgrid/mcp 0.5.0 · @labelgrid/cli 0.3.0 · @labelgrid/core 0.2.0 (unchanged)

Highlights

  • New tool: get_analytics_availability. One static call returning the section-by-platform availability matrix and each platform's reporting cadence (daily or weekly). Fetch it once before get_analytics so unsupported sections are treated as unavailable rather than as empty charts.
  • 37 analytics section keys (was 15): library adds, shazams (plus by-city/by-state), playlist adds, detailed source split, discovery and repeat rates, listener plan mix, listeners by region, Apple streams by city, Apple discovery cohorts, average listen time, hour-of-day, and more.
  • 10 platform filters (was 3): adds DEEZER, BOOMPLAY, AWA, AUDIOMACK, KUGOU, KUWO, QQMUSIC. The three Tencent platforms report weekly — one point per week carrying the whole week.
  • 400-day reporting window (was 30 days). Windows over 90 days draw a separate, lower rate budget; a 429 carries retry_after_seconds.
  • Breaking: get_analytics (and CLI analytics get) now require metrics — 1 to 12 section keys per request. Split larger selections across requests; responses are cached per scope and window.
  • New CLI subcommand: labelgrid analytics availability.

See each package's CHANGELOG for details.