Create osuAPI.ts

This commit is contained in:
2021-09-19 08:39:31 -07:00
parent e610644a3e
commit eb09d42b18
+25
View File
@@ -0,0 +1,25 @@
import { Api } from 'node-osu';
import Environment from './Environment';
class osuAPI {
public client: Api;
constructor () {
this.client = new Api(Environment.get().OSU_API_KEY, {
notFoundAsError: false,
completeScores: true,
parseNumeric: true
});
}
public init(): void {
}
public end(): void {
}
}
export default new osuAPI();