Crates.io | rustblox |
lib.rs | rustblox |
version | 0.4.0 |
source | src |
created_at | 2022-11-11 14:54:26.041644 |
updated_at | 2022-11-11 14:54:26.041644 |
description | A Rust library for interacting with the Roblox API |
homepage | |
repository | https://github.com/LawsOfScience/rustblox |
max_upload_size | |
id | 712893 |
size | 40,698 |
A Rust library for interacting with the Roblox API
Rustblox intents to support as many of the Roblox API endpoints as possible.
Most of the Roblox API has good enough documentation, but it is possible that
some things will be missed or fall through the cracks, especially in regard to
realtime.roblox.com
(as that has little documentation that I've found).
Rustblox will start by working with endpoints that do not require authentication, and will then implement authentication and support the endpoints that require it. Authentication will be done via the .ROBLOSECURITY cookie. See here for more information.
TBD
Will most likely work by creating a RustbloxClient
and interacting with that.
The current MSRV is 1.62.1.
Roblox has (justifiably, arguably) made it a bit difficult to authenticate with their API. The easiest and cleanest way to authenticate is by logging in via your browser and retrieving your .ROBLOSECURITY cookie. How do you do this?
SPECIAL NOTE FOR THOSE USING A VIRTUAL PRIVATE SERVER (VPS) Roblox added IP region tracking to .ROBLOSECURITY cookies some time ago, which means that if a particular .ROBLOSECURITY cookie is used to log in from a location different from the one it was generated in, the cookie will become invalid. This issue in noblox.js contains a great tutorial on how to bypass this.
I honestly have no clue. I'm just a college student who wanted to make this for no real particular reason. I've also got some other small projects I'm working on. If you want to see this finished sooner, feel free to help out and make a pull request!