Skip to content

slashinfty/rtgg.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Discussion

You can discuss this repository more in my Discord.

About

A JavaScript API wrapper for racetime.gg

Resources

License

Stars

Watchers

Forks