@valapi/valorant-api.com
Version:
Valorant API - valorant-api.com
20 lines (19 loc) • 637 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Seasons = void 0;
const ValorantApiComService_1 = require("../client/ValorantApiComService");
class Seasons extends ValorantApiComService_1.ValorantApiComService {
get() {
return this.request.get(`/v1/seasons`);
}
getCompetitiveSeasons() {
return this.request.get(`/v1/seasons/competitive`);
}
getByUuid(uuid) {
return this.request.get(`/v1/seasons/${uuid}`);
}
getCompetitiveSeasonByUuid(uuid) {
return this.request.get(`/v1/seasons/competitive/${uuid}`);
}
}
exports.Seasons = Seasons;
;