beatsaberapi-node
v0.2.0
Published
BeatSaberAPI-Node is a Open Source Library that allows for easy interaction with different BeatSaber API's through a well documented Node.JS library.
Downloads
9
Maintainers
Readme
BeatSaberAPI-Node
Currently in development. BeatSaberAPI-Node is a Open Source Library that allows for easy interaction with different BeatSaber API's through a well documented Node.JS library.
Supported API's
- ScoreSaber
- BeatLeader
Planned Support
- AccSaber
- Challenge Saber
Installing
Run the following command
npm install beatsaberapi-node
After installing, besure to install dependencies
npm install
Implementing in your code
const BeatSaberNode = require('beatsaberapi-node');
// example function call
let res = BeatSaberNode.ScoreSaber.Ranking.Public.getRequestInfoByLeaderboardId('578412')
res.then(function resolved(data) {
console.log(data)
})
Documentation
You can build the documentation yourself by running the following command or visit the docs
npm run docs