faceit-node-api
Version:
Lightweight node.js module for easier use of the Faceit Data API.
16 lines (12 loc) • 316 B
text/typescript
import Faceit from '../Faceit.js';
export default class Matches extends Faceit {
constructor() {
super('matches/');
}
getMatchDetails(match_id: string) {
return this.processRequest(match_id);
}
getStatisticsOfAMatch(match_id: string) {
return this.processRequest(`${match_id}/stats`);
}
}