Welcome to Roblox API Client 👋
Library for working with Roblox Web API, contains a tool for the automatic construction of documented functions
Install
yarn install rbx-api-client
or
npm install rbx-api-client
Usage
yarn run build
or
npm run build
Tutorial
import createRBXClient from 'rbx-api-client';
const RBXClient = await createRBXClient(token, refreshToken);
RBXClient.Chat['v2'].StartOneToOneConversation({
participantUserId: 123456789
}).then(response => {
RBXClient.Chat['v2'].SendMessage({
message: 'Hi 😜',
conversationId: response.conversation.id,
decorators: null
});
}).catch(err => {
console.error(err.message);
});
RBXClient.direct.get('https://api.roblox.com/my/balance').then(response => {
console.log(`I have ${response.robux} robux!`);
});
Author
👤 Vsevolod Volkov
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2021 Vsevolod Volkov.
This project is MIT licensed.