2.0.2 • Published 4 years ago
@sleepless-studio/roblox-api-dump v2.0.2
roblox-api-dump
A package used to easily retrieve Roblox's API dump.
Install
Install roblox-api-dump
through npm
:
$ npm install roblox-api-dump
Usage
Retrieve the latest version of the Roblox API dump through getLatestVersion()
.
import * as RobloxApiDump from "roblox-api-dump";
const version = await RobloxApiDump.getLatestVersion();
console.log(version); // => version-7f176a3bbd5e424e
// Ensure we're a module.
export {};
Retrieve the latest version of the Roblox API dump through getApiDump()
or, similarly, retrieve the Roblox API dump for a certain version with getApiDump(version)
.
import * as RobloxApiDump from "roblox-api-dump";
const apiDump = await RobloxApiDump.getApiDump();
console.log(apiDump.Version); // => 1
// Ensure we're a module.
export {};
roblox-api-dump
retrieves the Roblox API dump as-is.
License
This package is available as open source under the terms of the MIT License.