Python wrapper for the Roblox public API — no authentication required.
From GitHub (PyPI coming soon):
pip install git+https://github.com/singularitystudiosdev/roblox-public-api.gitimport 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 playingget_games(universe_ids)— fetch public game info (visits, playing count, genre, favorites, etc.)GameInfodataclass — typed, documented fields for every value the API returns- Zero dependencies beyond Python's standard library
- Works on Python 3.9+
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.
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.
MIT