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.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
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 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 go to docs

Nb

Actually i don't know how to write the docs, but i hope you understand, and if you have any questions, you can join my Discord Server

© Aizuu

Keywords

FAQs

Package last updated on 15 Feb 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