New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

osu-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

osu-wrapper

An easy wrapper for osu API and support intellisense.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

osu-wrapper

An easy wrapper for osu API and support intellisense.

  • Documentation
  • Official Osu! Docs

Installing

Version

#npm
npm install osu-wrapper

#yarn
yarn add osu-wrapper

Example Usage

  • grab your own token at HERE

getUser

Methods
  • getUser(option: userOpt)
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()

getBeatmaps

Methods
  • getBeatmaps(option: beatOpt)
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

n.b

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

Keywords

FAQs

Package last updated on 04 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc