An easy wrapper for osu API and support intellisense.
#npm
npm install osu-wrapper
#yarn
yarn add osu-wrapper
const { Osu } = require("osu-wrapper");
const client = new Osu("ur_token");
async function user() {
const result = await client.getUser({ u: "ivoskydeav", m: "3" });
console.log(result);
return result;
}
user()
const { Osu } = require("osu-wrapper");
const client = new Osu("ur_token");
async function getBeatmaps() {
const result = await client.getBeatmaps({ b: 309176 });
console.log(result);
return result;
}
getBeatmaps()
For more information go to documentation
Actually i don't know how to write the documentation, but i hope you will understand and if you have any question feel free to join my Discord Server
© Aizuu
Generated using TypeDoc