ScriptBloxAPI 6.2.0
dotnet add package ScriptBloxAPI --version 6.2.0
NuGet\Install-Package ScriptBloxAPI -Version 6.2.0
<PackageReference Include="ScriptBloxAPI" Version="6.2.0" />
<PackageVersion Include="ScriptBloxAPI" Version="6.2.0" />
<PackageReference Include="ScriptBloxAPI" />
paket add ScriptBloxAPI --version 6.2.0
#r "nuget: ScriptBloxAPI, 6.2.0"
#addin nuget:?package=ScriptBloxAPI&version=6.2.0
#tool nuget:?package=ScriptBloxAPI&version=6.2.0
ScriptBlox API
License
Documentation
Follows ScriptBloxAPI Standards and Parameters
ScriptBloxApi - Scripts Module
The Scripts
class in the ScriptBloxApi
library provides a set of asynchronous methods to interact with the ScriptBlox API for fetching, searching, and retrieving Roblox scripts.
โจ Features
- Fetch paginated script lists with filters
- Retrieve specific script data
- Get raw script code
- Access trending scripts
- Perform advanced search queries
๐ Usage
Make sure to call these methods from an async context.
using ScriptBloxApi.Scripts;
using ScriptBloxApi.Objects;
Results scripts = await Scripts.FetchScriptsAsync();
ScriptData script = await Scripts.FetchScriptAsync("abc123");
string rawScript = await Scripts.FetchRawScriptAsync("abc123");
IReadOnlyList<Script> trending = await Scripts.FetchTrendingScriptsAsync();
IReadOnlyList<Script> searchResults = await Scripts.SearchScriptsAsync("infinite yield");
๐ API Reference
FetchScriptsAsync(...)
Fetches a paginated list of scripts with optional filtering and sorting.
Parameters:
Name | Type | Description |
---|---|---|
page |
int? |
Page number (default: 1) |
max |
int? |
Max results per page (1โ20, default: 20) |
mode |
ScriptCost? |
Filter by script cost (free , paid ) |
patched |
bool? |
Include only patched scripts if true |
key |
bool? |
Include only key-protected scripts if true |
universal |
bool? |
Filter universal scripts |
verified |
bool? |
Include only verified scripts |
sortBy |
SortBy? |
Sort field (views , likeCount , etc.) |
order |
Order? |
Sort order (asc , desc ) |
Returns: Task<Results>
FetchScriptAsync(string scriptId)
Fetches metadata for a single script by ID.
Parameters:
scriptId
: The ID of the script to fetch
Returns: Task<ScriptData>
FetchRawScriptAsync(string scriptId)
Fetches the raw Lua source code for a script by ID.
Parameters:
scriptId
: The ID of the script
Returns: Task<string>
FetchTrendingScriptsAsync(int? max = 20)
Gets trending scripts, optionally limited to a maximum number.
Parameters:
max
: Maximum number of scripts (1โ20, default: 20)
Returns: Task<IReadOnlyList<Script>>
SearchScriptsAsync(...)
Performs an advanced search for scripts based on a query and filters.
Parameters:
Name | Type | Description |
---|---|---|
query |
string |
The search query |
page |
int? |
Page number (default: 1) |
max |
int? |
Max results per page (1โ20, default: 20) |
mode |
ScriptCost? |
Filter by script cost (free , paid ) |
patched |
bool? |
Filter by patched state |
key |
bool? |
Filter by key-protection |
universal |
bool? |
Filter by universal scripts |
verified |
bool? |
Filter by verified scripts |
sortBy |
SortBy? |
Sort field |
order |
Order? |
Sort order |
strict |
bool? |
Use strict match if true |
Returns: Task<Results>
๐ Enums
ScriptCost
free
paid
SortBy
views
likeCount
createdAt
updatedAt
dislikeCount
Order
asc
desc
๐งช Example: Search for Free, Verified Scripts
var results = await Scripts.SearchScriptsAsync(
query: "admin",
mode: Scripts.ScriptCost.free,
verified: true,
sortBy: Scripts.SortBy.views,
order: Scripts.Order.desc
);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Text.Json (>= 9.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
6.2.0 | 179 | 4/9/2025 | |
6.0.1 | 154 | 4/7/2025 | |
6.0.0 | 174 | 4/7/2025 | |
5.0.2 | 757 | 8/23/2023 | |
5.0.1 | 268 | 8/21/2023 | |
5.0.0 | 260 | 8/19/2023 | |
4.0.5 | 303 | 6/3/2023 | |
4.0.4 | 250 | 5/25/2023 | |
4.0.3 | 263 | 5/24/2023 | |
4.0.2 | 255 | 5/24/2023 | |
4.0.1 | 292 | 5/24/2023 | |
4.0.0 | 304 | 5/23/2023 | |
3.0.0 | 316 | 5/22/2023 | |
2.0.0 | 287 | 5/22/2023 | |
1.0.0 | 289 | 5/22/2023 |
- ReWrote parameter handler to lower memory usage
Added Endpoints
- UserStats.GetUserFollowingAsync(string username, int? page = 1, int? max = 20)
- UserStats.GetUserFollowersAsync(string username, int? page = 1, int? max = 20)
- UserStats.GetUserInfoAsync(string username, int? page = 1, int? max = 20)
- Comments.GetScriptCommentsAsync(string scriptId, int? page = 1, int? max = 20)
- Executors.GetRobloxVersions()
- Scripts.FetchScriptsFromUser(string username, int? page = 1, int? max = 20)