OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
ui.media.musicforge_charts_if.MusicForgeChartsIf Class Reference

Read-only access to observed radio airplay rankings. More...

Public Member Functions

list[dict] stations (self)
 List stations available as chart filters.
dict songs (self, *, str|None station=None, str period="today", int limit=20)
 Fetch the song chart for the requested station and period.
dict artists (self, *, str|None station=None, str period="today", int limit=20)
 Fetch the artist chart for the requested station and period.

Detailed Description

Read-only access to observed radio airplay rankings.

Member Function Documentation

◆ artists()

dict ui.media.musicforge_charts_if.MusicForgeChartsIf.artists ( self,
* ,
str | None station = None,
str period = "today",
int limit = 20 )

Fetch the artist chart for the requested station and period.

Parameters
stationOptional station identifier.
periodChart time window.
limitMaximum number of ranked entries.
Returns
Artist chart response.

◆ songs()

dict ui.media.musicforge_charts_if.MusicForgeChartsIf.songs ( self,
* ,
str | None station = None,
str period = "today",
int limit = 20 )

Fetch the song chart for the requested station and period.

Parameters
stationOptional station identifier.
periodChart time window.
limitMaximum number of ranked entries.
Returns
Song chart response.

◆ stations()

list[dict] ui.media.musicforge_charts_if.MusicForgeChartsIf.stations ( self)

List stations available as chart filters.

Returns
Station records.

The documentation for this class was generated from the following file:
  • ui/media/musicforge_charts_if.py