SecLoad SDK package for Roblox Script Builder APIs.
Project description
Secload SDK
Made for Roblox SB games
Created by equsjd and the help of Cparke
Usage
Installation
To install, run this in a CLI. It should automatically install the dependancies too
pip install secload
Setting it up
Getting an API Key
Send a POST
request to https://secload.scriptlang.com/secload/publicapi/CreateNewKey
Or do it via https://secload.scriptlang.com/docs
import requests
# Minimum key length is 25
print(requests.post("https://secload.scriptlang.com/secload/publicapi/CreateNewKey", json={Length: 50}).text)
Making the code
Create a .py
file with the contents of:
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
# -> Errors if the API key does not exist
To add a script to SecLoad, do:
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
secload.CreateScript("scriptname", "source of the script (made for Roblox so its a lua script)", ScriptType.TEXT)
# OR
secload.CreateScript("scriptname", "/path/to/file", ScriptType.FILE)
To remove scripts, do:
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
secload.RemoveScript("scriptname")
To overwrite an existing script do:
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
secload.OverwriteScript("scriptname", "new source", ScriptType.TEXT)
# OR
secload.OverwriteScript("scriptname", "/path/to/file", ScriptType.FILE)
To view an existing script source, do:
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
secload.GetScriptSource("scriptname")
To list what scripts you have saved, do:
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
secload.ListScripts() # -> returns a python list
To generate a key, do:
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
secload.GenerateKey("scriptname", "robloxuser (REQUIRED)", "expire time") # -> returns the script EXAMPLE: require(idhere)("key", "key2", "username", true)
All Functions
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
secload.AddScript()
secload.RemoveScript()
secload.OverwriteScript()
secload.GetScriptSource() # -> returns a string with the script source
secload.ListScripts() # -> returns a python list
secload.GenerateKey() # -> returns the script EXAMPLE: require(idhere)("key", "key2", "username", true)
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
secload-1.0.1.tar.gz
(3.8 kB
view hashes)