upbeatradio
v0.0.5
Published
Easily interact with UpBeatRadio.net API
Downloads
20
Maintainers
Readme
📦 How to install
- With Yarn:
yarn add upbeatradio
- With NPM:
npm i upbeatradio
📁 Example Usage
const UpBeat = require("upbeatradio");
const Client = new UpBeat.UpBeatClient();
Client.getStats().then(({ data }) => {
console.log(data);
});
📄 Documenation
.UpBeatClient
The UpBeat client containing all functions (initialize the constructor to access functions)
Client.getStats()
Gets current metadata
Client.getRecentlyPlayed()
Gets recently played songs
Client.getBooked()
Gets booked slots