Rogiant logoRogiant

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.

Terminal
 

Basic Usage

The synchronous client is the simplest way to get started. Create a client instance and start making API calls immediately.

example.py
 

Async Client

For high-throughput applications, use the async client with Python's asyncio.

async_example.py
 

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.

database_example.py
 
See all database adapters

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:

users
games
catalog
groups
friends
thumbnails
badges
economy
presence
avatar
trades
messages
chat
inventory
develop
events