Skip to main content

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

PyPI - Version PyPI - License Discord

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SecLoad-1.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file secload-1.0.1.tar.gz.

File metadata

  • Download URL: secload-1.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for secload-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ba3ac1e7a49619ff0e5d083c69cc25c1e35095e00a10fa195ccd182014befb2d
MD5 38fac5eba73c0a246fc78219d37f64d1
BLAKE2b-256 babbb12c474e3233775c6ed37b95e566e40e1daf32ffca2e7250b4f56f019904

See more details on using hashes here.

File details

Details for the file SecLoad-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: SecLoad-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for SecLoad-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4315f3c0acdfa3e177db5151c52151ab9bb391d5bf262323a7bfebb39a38478
MD5 26debb11c3d88eba37de70e03283763f
BLAKE2b-256 28109f74eab5869717f927d3fb10269cc7b804b6579429f7336b33d2fcde3d00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page