@valapi/valorant-api.com
Version:
Valorant API - valorant-api.com
25 lines • 822 B
JavaScript
//import
Object.defineProperty(exports, "__esModule", { value: true });
exports.Ceremonies = void 0;
const tslib_1 = require("tslib");
//class
class Ceremonies {
constructor(RequestClient, language) {
this.RequestClient = RequestClient;
this.language = language;
}
//service
get() {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return yield this.RequestClient.get('/ceremonies' + `?language=${this.language}`);
});
}
getByUuid(uuid) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
return yield this.RequestClient.get(`/ceremonies/${uuid}` + `?language=${this.language}`);
});
}
}
exports.Ceremonies = Ceremonies;
//# sourceMappingURL=Ceremonies.js.map
;