UNPKG

upbeatradio

Version:

Easily interact with UpBeatRadio.net API

24 lines 881 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpBeatClient = void 0; var tslib_1 = require("tslib"); var constants_1 = require("../constants"); var HTTP_1 = require("./HTTP"); var UpBeatClient = /** @class */ (function (_super) { tslib_1.__extends(UpBeatClient, _super); function UpBeatClient() { return _super.call(this, constants_1.base) || this; } UpBeatClient.prototype.getStats = function () { return this.instance.get("/stats"); }; UpBeatClient.prototype.getRecentlyPlayed = function () { return this.instance.get("/recentlyPlayed"); }; UpBeatClient.prototype.getBooked = function () { return this.instance.get("/booked"); }; return UpBeatClient; }(HTTP_1.HTTP)); exports.UpBeatClient = UpBeatClient; //# sourceMappingURL=UpBeatClient.js.map