Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/radioco_api/mod.ts>RadioCo

A typescript API wrapper for radio.co
Latest
class RadioCo
Re-export
import { RadioCo } from "https://deno.land/x/radioco_api@v1.0.0/mod.ts";

Methods

getNextTrack(stationId: string)

Gets the next track to be played on a station

getRequestableTracks(stationId: string)

Get the requestable tracks of a station

getStationHistory(stationId: string)

Get the track history of a station

getStationSchedule(stationId: string)

Get the schedule of a station

getStationStatus(stationId: string): Promise<StationStatus>

Get the status of a station

requestTrack(
stationId: string,
trackId: number,
deviceIdentifier?: string,
)

Request a track to be played on a station