robloxapi
robloxapi is a open source async Rust API wrapper for roblox; Fork of PythonicIconic's RbxAPI-rs.
Getting Started
You can install the library by running cargo add roboxapi
Retrieving Users
Example of retrieving a given user, three different ways!
use rbxapi;
#[tokio::main]
async fn main() {
let cookie = "your_cookie";
let client = rbxapi::Client.new().cookie(cookie).await;
let my_user = client.current_user().await;
let str_user = client.user("builderman").await;
let int_user = client.user(156).await;
}
Developer Products / Games
use robloxapi;
use tokio;
#[tokio::main]
async fn main() {
let place_id = 7415484311; let client = robloxapi::Client() .await;
let game = client.game(place_id)
.await;
let dev_product = game.create_dev_product("name-of-dev-product", 17).await;
}