osu-renderer-wrapper
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

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

  • option:

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

Thank a lot of o!rdr, MasterIO#4588 (Owner API)

Install

npm i osu-renderer-wrapper

DownloadsWeekly Downloads

10

Version

1.2.2

License

GNU General Public License v3.0

Unpacked Size

78 kB

Total Files

8

Last publish

Collaborators

  • aikochan2k6