The ShipGirl Project. Zuikaku. (c) Kancolle for Zuikaku
.
npm i zuikaku
https://deivu.github.io/Zuikaku/?api
const { Zuikaku } = require('zuikaku');
const zuikaku = new Zuikaku('your_osu!_token');
async function start() {
const user = await zuikaku.getUser({ u: 'Deivu', m: 0 });
console.log(user[0]);
const userBest = await zuikaku.getUserBest({ u: 'Deivu', m: 0 });
console.log(userBest[0]);
const beatmap = await zuikaku.getBeatmaps({ b: 1619555, m: 0 });
console.log(beatmap[0]);
}
start()
.then(() => console.log('All requests are done'))
.catch(console.error);
Or this Client.js
You can find the wiki in HERE