chzzk-z
Version:
chzzk-z is naver streaming platform Chzzk Library
19 lines • 637 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChzzkLive = void 0;
const apis_1 = require("./apis");
class ChzzkLive {
constructor(cm, opt) {
this.liveRepository = new apis_1.ChzzkLiveRepository();
this.cm = cm;
this.opt = opt;
}
async findStatusByChannelId(channelId) {
return await this.liveRepository.findStatusByChannelId(channelId, this.opt);
}
async findDetailByChannelId(channelId) {
return await this.liveRepository.findDetailByChannelId(channelId, this.opt);
}
}
exports.ChzzkLive = ChzzkLive;
//# sourceMappingURL=live.js.map