rr-apilib
Install: npm install rr-apilib
Infos
This Library makes much easier the interactions with the project's API.
Declare your Client, log in your user and browse the hidden data or make queries by browsing the classes!
Usage Example
Login and upload a new comment on an existing Resource
import { Client, CommentBuilder } from "rr-apilib";
(async () => {
const client = new Client();
await client.login("me@mail.com", "password");
const resource = client.resources.cache.get("uuid");
console.log(resource);
const newComment = new CommentBuilder()
.setComment(":D");
await ressource.comments.add(newComment);
console.log(ressource.comments);
})();
Links
Github
Documentation
Contact