Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roblox-public-api

Python wrapper for the Roblox public API — no authentication required.

Installation

From GitHub (PyPI coming soon):

pip install git+https://github.com/singularitystudiosdev/roblox-public-api.git

Quick start

import roblox_api

# Get info for one or more games by universe ID
games = roblox_api.get_games([383310974, 994732206])

for g in games:
    print(f"{g.name}: {g.visits:,} visits, {g.playing:,} playing")
    # Adopt Me!: 44,384,268,023 visits, 127,928 playing
    # Blox Fruits: 63,408,555,641 visits, 275,729 playing

What's included

  • get_games(universe_ids) — fetch public game info (visits, playing count, genre, favorites, etc.)
  • GameInfo dataclass — typed, documented fields for every value the API returns
  • Zero dependencies beyond Python's standard library
  • Works on Python 3.9+

Finding universe IDs

A Roblox game's universe ID is in its URL: https://www.roblox.com/games/383310974/Adopt-Me → universe ID 383310974

Or use the games.roblox.com/v1/games/list endpoint to search by name.

Why this exists

The Roblox public API is simple and well-documented, but there wasn't a minimal, dependency-free Python wrapper for the unauthenticated endpoints. This is that wrapper — no API key, no OAuth, no session management. Just pip install and go.

License

MIT

About

Python wrapper for the Roblox public API — games, users, groups, and more. Unauthenticated endpoints only.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages