ScriptBloxAPI 1.0.0
See the version list below for details.
dotnet add package ScriptBloxAPI --version 1.0.0
NuGet\Install-Package ScriptBloxAPI -Version 1.0.0
<PackageReference Include="ScriptBloxAPI" Version="1.0.0" />
paket add ScriptBloxAPI --version 1.0.0
#r "nuget: ScriptBloxAPI, 1.0.0"
// Install ScriptBloxAPI as a Cake Addin #addin nuget:?package=ScriptBloxAPI&version=1.0.0 // Install ScriptBloxAPI as a Cake Tool #tool nuget:?package=ScriptBloxAPI&version=1.0.0
Scripts Methods
!!! Info This is Unofficial and a fan made project, do not ask ScriptBlox for support.
GetScriptFromScriptbloxId
Retrieves a script from Scriptblox based on the provided Scriptblox ID.
Script GetScriptFromScriptbloxId(string bloxId)
Parameters
bloxId
(string): The Scriptblox ID of the script to retrieve.Return Value
Script
: The script retrieved from the API, or a default script if the retrieval fails or the data is invalid.
GetFrontPageScripts
Retrieves a list of scripts from the front page based on the provided page number.
List<Script> GetFrontPageScripts(int pageNumber = 1)
Parameters
pageNumber
(int, optional): The page number of the front page scripts (default is 1).Return Value
List<Script>
: A list ofScript
objects representing the scripts from the front page.
GetScriptsFromPageNumber
Retrieves a list of scripts from the front page based on the provided page number.
List<Script> GetScriptsFromPageNumber(int pageNumber = 1)
Parameters
pageNumber
(int, optional): The page number of the front page scripts (default is 1).Return Value
List<Script>
: A list ofScript
objects representing the scripts from the front page.
GetScriptsFromQuery
Retrieves a list of scripts from Scriptblox based on the provided search query and maximum results.
List<Script> GetScriptsFromQuery(string searchQuery, int maxResults = 20)
Parameters
searchQuery
(string): The search query to filter the scripts.maxResults
(int, optional): The maximum number of results to retrieve (default is 20).Return Value
List<Script>
: A list ofScript
objects representing the scripts matching the search query.
GetScriptsFromUser
Retrieves a list of scripts from the front page based on the provided page number.
List<Script> GetScriptsFromUser(string username)
Parameters
pageNumber
(int, optional): The page number of the front page scripts (default is 1).Return Value
List<Script>
: A list ofScript
objects representing the scripts owned by the user.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Newtonsoft.Json (>= 13.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.
Initial Release.