radiobrowser-api-client
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

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. */

/radiobrowser-api-client/

    Package Sidebar

    Install

    npm i radiobrowser-api-client

    Weekly Downloads

    0

    Version

    0.1.4

    License

    Apache-2.0

    Unpacked Size

    202 kB

    Total Files

    56

    Last publish

    Collaborators

    • marioneq4958