Radio.co API Wrapper
A very simple API wrapper, in javascript for the Radio.co API.
Basic docs are linked below but for more information/help please join the discord server.
Usage
npm install radioco-api
import RadioCo from "radioco-api";
const radioCo = new RadioCo();
const STATION_ID = "YOUR_STATION_ID";
const status = await radioCo.getStationStatus(STATION_ID);
const tracks = await radioCo.getRequestableTracks(STATION_ID);
const history = await radioCo.getStationHistory(STATION_ID);
const nextTrack = await radioCo.getNextTrack(STATION_ID);
const requestableTracks = await radioCo.getRequestableTracks(STATION_ID);
const schedule = await radioCo.getStationSchedule(STATION_ID);