Robloxapi
An Asynchronous Rust API Wrapper for Roblox.
Install / Use
/learn @royce-mathew/RobloxapiREADME
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 robloxapi
Retrieving Users
Example of retrieving a given user, three different ways!
use robloxapi;
use tokio;
// The cookie is needed for several api endpoints; Specifically those which interact with acccount / game data.
const COOKIE: &str = ""
#[tokio::main]
async fn main() {
let mut client = rbxapi::Client::new(); // Create new client Instance
client.set_cookie(COOKIE).await; // Set the cookie for the client instance
// Example on getting users
let my_user = client.current_user().await?; // Get the current user
let str_user = client.user("builderman").await?; // Get user by username
let int_user = client.user(156).await?; // Get user by userid
}
Developer Products / Games
use robloxapi;
use tokio;
const COOKIE: &str = ""
#[tokio::main]
async fn main() {
let place_id = 7415484311; // Place ID for game
let mut client = robloxapi::Client()::new(); // Create a new client instance
client.set_cookie(COOKIE).await; // We need to set the cookie if we want to have permissions for creating developer products
// Create a new game given place id
let mut game = client.game(place_id).await?;
// Returns a ApiResult which can be unwrapped to a value or a APIError
let dev_product = game.create_dev_product(
"name-of-dev-product", // Name of the developer product
17 // Price of the developer product
).await?;
}
Related Skills
apple-reminders
339.5kManage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
gh-issues
339.5kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
himalaya
339.5kCLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
