0.1.5 • Published 1 year ago

radiobrowser-api-client v0.1.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

radiobrowser-api-client

Typescript module for Radio Browser API.

Usage

const radioBrowserClient = new RadioBrowserClient('My Radio App', '1.0'); /* Initialize the client. */

const stationsXML = radioBrowserClient.fetchStations({ limit: 10, order: 'random' }, 'xml') /* Get 10 random stations in xml format. */
const stations = radioBrowserClient.searchStations({ limit: 10, order: 'random' }); /* Get 10 random stations in object array. */