Name | SecLoad JSON |
Version |
1.0.1
JSON |
| download |
home_page | None |
Summary | SecLoad SDK package for Roblox Script Builder APIs. |
upload_time | 2024-04-15 00:23:25 |
maintainer | None |
docs_url | None |
author | equsjd |
requires_python | None |
license | None |
keywords |
roblox
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Secload SDK
##### Made for Roblox SB games
##### Created by equsjd and the help of Cparke
![PyPI - Version](https://img.shields.io/pypi/v/secload)
![PyPI - License](https://img.shields.io/badge/secload-MIT-license?label=license&link=https://opensource.org/license/mit)
![Discord](https://img.shields.io/discord/1178213683839651891?logo=discord&logoColor=FFF&color=454FBF&link=https%3A%2F%2Fdiscord.gg%2FJJhxSTn6Nk)
# Usage
## Installation
To install, run this in a CLI. It should automatically install the dependancies too
```sh
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
```py
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:
```py
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:
```py
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:
```py
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
secload.RemoveScript("scriptname")
```
To overwrite an existing script do:
```py
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:
```py
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
secload.GetScriptSource("scriptname")
```
To list what scripts you have saved, do:
```py
from SecLoad import ScriptType, SecLoad
secload = SecLoad("Insert API Key here")
secload.ListScripts() # -> returns a python list
```
To generate a key, do:
```py
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
```py
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)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "SecLoad",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "roblox",
"author": "equsjd",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/ba/bb/b12c474e3233775c6ed37b95e566e40e1daf32ffca2e7250b4f56f019904/secload-1.0.1.tar.gz",
"platform": null,
"description": "# Secload SDK\n##### Made for Roblox SB games\n##### Created by equsjd and the help of Cparke\n\n![PyPI - Version](https://img.shields.io/pypi/v/secload)\n![PyPI - License](https://img.shields.io/badge/secload-MIT-license?label=license&link=https://opensource.org/license/mit)\n![Discord](https://img.shields.io/discord/1178213683839651891?logo=discord&logoColor=FFF&color=454FBF&link=https%3A%2F%2Fdiscord.gg%2FJJhxSTn6Nk)\n\n# Usage\n## Installation\nTo install, run this in a CLI. It should automatically install the dependancies too\n```sh\npip install secload\n```\n\n## Setting it up\n\n#### Getting an API Key\nSend a `POST` request to https://secload.scriptlang.com/secload/publicapi/CreateNewKey\nOr do it via https://secload.scriptlang.com/docs\n\n```py\nimport requests\n # Minimum key length is 25\nprint(requests.post(\"https://secload.scriptlang.com/secload/publicapi/CreateNewKey\", json={Length: 50}).text)\n```\n\n#### Making the code\n\nCreate a `.py` file with the contents of:\n```py\nfrom SecLoad import ScriptType, SecLoad\nsecload = SecLoad(\"Insert API Key here\")\n# -> Errors if the API key does not exist\n```\n\nTo add a script to SecLoad, do:\n```py\nfrom SecLoad import ScriptType, SecLoad\nsecload = SecLoad(\"Insert API Key here\")\n\nsecload.CreateScript(\"scriptname\", \"source of the script (made for Roblox so its a lua script)\", ScriptType.TEXT)\n# OR\nsecload.CreateScript(\"scriptname\", \"/path/to/file\", ScriptType.FILE)\n```\n\nTo remove scripts, do:\n```py\nfrom SecLoad import ScriptType, SecLoad\nsecload = SecLoad(\"Insert API Key here\")\n\nsecload.RemoveScript(\"scriptname\")\n```\n\nTo overwrite an existing script do:\n```py\nfrom SecLoad import ScriptType, SecLoad\nsecload = SecLoad(\"Insert API Key here\")\n\nsecload.OverwriteScript(\"scriptname\", \"new source\", ScriptType.TEXT)\n# OR\nsecload.OverwriteScript(\"scriptname\", \"/path/to/file\", ScriptType.FILE)\n```\n\nTo view an existing script source, do:\n```py\nfrom SecLoad import ScriptType, SecLoad\nsecload = SecLoad(\"Insert API Key here\")\n\nsecload.GetScriptSource(\"scriptname\")\n```\n\nTo list what scripts you have saved, do:\n```py\nfrom SecLoad import ScriptType, SecLoad\nsecload = SecLoad(\"Insert API Key here\")\n\nsecload.ListScripts() # -> returns a python list\n```\n\nTo generate a key, do:\n```py\nfrom SecLoad import ScriptType, SecLoad\nsecload = SecLoad(\"Insert API Key here\")\n\nsecload.GenerateKey(\"scriptname\", \"robloxuser (REQUIRED)\", \"expire time\") # -> returns the script EXAMPLE: require(idhere)(\"key\", \"key2\", \"username\", true)\n```\n\n#### All Functions\n```py\nfrom SecLoad import ScriptType, SecLoad\nsecload = SecLoad(\"Insert API Key here\")\n\nsecload.AddScript()\nsecload.RemoveScript()\nsecload.OverwriteScript()\nsecload.GetScriptSource() # -> returns a string with the script source\nsecload.ListScripts() # -> returns a python list\nsecload.GenerateKey() # -> returns the script EXAMPLE: require(idhere)(\"key\", \"key2\", \"username\", true)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "SecLoad SDK package for Roblox Script Builder APIs.",
"version": "1.0.1",
"project_urls": null,
"split_keywords": [
"roblox"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "28109f74eab5869717f927d3fb10269cc7b804b6579429f7336b33d2fcde3d00",
"md5": "26debb11c3d88eba37de70e03283763f",
"sha256": "b4315f3c0acdfa3e177db5151c52151ab9bb391d5bf262323a7bfebb39a38478"
},
"downloads": -1,
"filename": "SecLoad-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "26debb11c3d88eba37de70e03283763f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4804,
"upload_time": "2024-04-15T00:23:24",
"upload_time_iso_8601": "2024-04-15T00:23:24.074949Z",
"url": "https://files.pythonhosted.org/packages/28/10/9f74eab5869717f927d3fb10269cc7b804b6579429f7336b33d2fcde3d00/SecLoad-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "babbb12c474e3233775c6ed37b95e566e40e1daf32ffca2e7250b4f56f019904",
"md5": "38fac5eba73c0a246fc78219d37f64d1",
"sha256": "ba3ac1e7a49619ff0e5d083c69cc25c1e35095e00a10fa195ccd182014befb2d"
},
"downloads": -1,
"filename": "secload-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "38fac5eba73c0a246fc78219d37f64d1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3788,
"upload_time": "2024-04-15T00:23:25",
"upload_time_iso_8601": "2024-04-15T00:23:25.642339Z",
"url": "https://files.pythonhosted.org/packages/ba/bb/b12c474e3233775c6ed37b95e566e40e1daf32ffca2e7250b4f56f019904/secload-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-15 00:23:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "secload"
}