A Python wrapper for the Rscripts.net API
Project description
📦 rscripts_api
A Python wrapper for the Rscripts.net API — search and retrieve Roblox scripts programmatically with ease.
🚀 Installation
pip install rscripts-api
📚 Features
- 🔍 Fetch latest or filtered scripts
- 🧠 Get trending scripts
- 📄 Download raw script source
- 🧑💻 Filter by creator, platform, or tags
- 🎮 Perfect for integrating into GUIs, dashboards, or script hubs
🧪 Quick Start
from rscripts_api import RScriptsAPI
api = RScriptsAPI()
# Get latest 10 scripts
scripts = api.get_scripts(page=1, order_by="date", sort="desc")["scripts"]
for script in scripts[:10]:
print(script["title"], "-", script.get("creator", "Unknown"))
📘 API Reference
RScriptsAPI(username=None)
Optional username header if you want to filter by a specific user.
get_scripts(...)
Fetch a paginated list of scripts.
api.get_scripts(
page=1,
order_by="date",
sort="desc",
query="blade ball", # optional search
mobileOnly=True, # optional filter
unpatched=True # optional filter
)
get_script_by_id(script_id)
Get a specific script and all its metadata.
script = api.get_script_by_id("66f29856c7543f330a52838d")
print(script["script"][0]["title"])
get_trending_scripts()
Retrieve the top 12 trending scripts (based on views and interactions).
trending = api.get_trending_scripts()
for entry in trending["success"]:
print(entry["script"]["title"])
🧑💻 Example: GUI Integration (Tkinter)
A simple GUI that shows the 10 latest scripts with avatars and raw script preview:
👉 See GitHub Repo (if applicable)
🔗 Links
- 🌐 Rscripts.net
- 📦 PyPI Package
- 🧠 Created by Flames aka Aura
🛡 License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rscripts_api-1.0.1.tar.gz.
File metadata
- Download URL: rscripts_api-1.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb6af733f1a9963a64f19c23179402a06a64701643f85d29ba846891b42aacee
|
|
| MD5 |
18acf9fe35e0bfb8e4f2376335da6fed
|
|
| BLAKE2b-256 |
13e3e097d8ab3cde90e3d1f2d34e0ae13cfcf2da615176474de7898f2b121f7d
|
File details
Details for the file rscripts_api-1.0.1-py3-none-any.whl.
File metadata
- Download URL: rscripts_api-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cc0cb4112727d3ecf603e69c776e8f660fc5fdc50b99ec4fd350f5969eedb0e
|
|
| MD5 |
4447306e3c48302a0f36e45ab38ff784
|
|
| BLAKE2b-256 |
1465ed946b0c88772a56a4293722a2f0abd8a2b70d9c48bd71f04ed2f977443f
|