Code Monkey home page Code Monkey logo

osu-renderer-wrapper's Introduction

osu-renderer-wrapper

  • A wrapper that allows you to interact with the API ordr.issou.best

Installation

$ npm install osu-renderer-wrapper

Example

Typedefs

  • renderID
renderID: Number
  • ReplayData
// Example ('done' event)
ReplayData {
  gameMode: 0,
  gameVersion: 20220424,
  beatmapMD5: 'a9d1cb13f7fb543af96e2a43fcf855ca',
  playerName: 'TheClumsyOne46',
  replayMD5: '625818578889081d25b5149ffe044c92',
  counting: {
    number_300s: 126,
    number_100s: 18,
    number_50s: 0,
    number_gekis: 28,
    number_katus: 8,
    number_misses: 1,
    max_combo: 216,
    perfect_combo: 0,
    mods: 0
  },
  score: 690574,
  timestamp: 1653561747000,
  byteLength: 17187,
  renderID: 446031,
  videoURL: 'https://link.issou.best/EX066',
  progress: 'Finalizing...',
  description: 'Player: TheClumsyOne46, Map: MIMI feat. Hatsune Miku - Mizuoto to Curtain [Hyper] by Log Off Now, song length is 0:54 (4.03 ⭐)  | Accuracy: 91.03%'
}

Propertites

  • cache: DiscordJS.Collection<RenderID, ReplayData>

  • avaliableSkin: DiscordJS.Collection<SkinID, SkinData>

  • rateLimitReset: Number (Ratelimit reset time)

Events

  • added (Upload file success)

    • id: renderID
    • beatmap: ReplayData
  • progress (Waiting for client... | Rendering... (x%) | Finalizing...)

    • id: renderID
    • beatmap: ReplayData
  • done (videoURL)

    • id: renderID
    • beatmap: ReplayData
  • error

    • id: renderID
    • error: RenderFailed extends Error

Methods

  • upload
    • path: string (fs.path)
    • skin: string (Skin name)

There is also a lot of other data, you can see the source :))

osu-renderer-wrapper's People

Contributors

aiko-chan-ai avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.