rtgg.js
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

rtgg.js

A JavaScript API wrapper and WebSocket handler for racetime.gg

Install

npm i rtgg.js

Note: this package uses the native fetch API, and thus requires at least Node.js v17.5.

Initialization

const { rtggClient, rtggWebSocket } = require('rtgg.js');

const rtgg = new rtggClient();

Usage

The wrapper is based on promises, so it advised you use async/await in all API calls.

Documentation is available here.

Readme

Keywords

Package Sidebar

Install

npm i rtgg.js

Weekly Downloads

1

Version

2.1.1

License

GPL-3.0-or-later

Unpacked Size

56.7 kB

Total Files

12

Last publish

Collaborators

  • slashinfty