Documentation
Complete guide to using Rogiant for Roblox API integration with first-class database support.
Installation
Install Rogiant using pip. The library requires Python 3.8 or higher.
Basic Usage
The synchronous client is the simplest way to get started. Create a client instance and start making API calls immediately.
Async Client
For high-throughput applications, use the async client with Python's asyncio.
Database Persistence
The built-in database layer provides persistent storage for users, games, and custom key-value data. SQLite ships by default, with adapters available for PostgreSQL, MySQL, MongoDB, Redis, and Supabase.
Core Concepts
SessionDatabase
Unified storage interface with adapters for SQLite, Postgres, MySQL, Mongo, Redis, and Supabase. Zero-config for SQLite, swap-in for the rest.
TTLCache
Thread-safe TTL + LRU cache for GET requests. Reduces rate limits and improves performance. Backed by Redis when available.
TokenBucket
Built-in token bucket throttling prevents 429 errors and protects against hitting rate limits.
Open Cloud
RogiantCloudClient wraps Roblox Open Cloud APIs: DataStores, Ordered DataStores, and MessagingService.
Available Sub-APIs
The client provides access to 16+ specialized sub-APIs:
usersgamescataloggroupsfriendsthumbnailsbadgeseconomypresenceavatartradesmessageschatinventorydevelopevents