ScriptBloxAPI 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ScriptBloxAPI --version 1.0.0                
NuGet\Install-Package ScriptBloxAPI -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ScriptBloxAPI" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ScriptBloxAPI --version 1.0.0                
#r "nuget: ScriptBloxAPI, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 of Script 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 of Script 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 of Script 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 of Script objects representing the scripts owned by the user.
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.