Skip to main content

Getting Started

Libraries made by cparke and Equsjd

Installing SecLoad

To install SecLoad, run this in a command line.

pip install secload

Finding an API Key

Now you need an API key, this is where all your scripts will be saved.

API Key Length

PLEASE for gods sakes, generate a key with a character (my recommendation) over 50 characters if you're planning to actually store scripts.

The Python SDK does not have a way to generate API keys through the package. You will either have to use the Requests package, or generate the key through Python code.

You can also generate API keys using Secloads's Swagger Docs

import requests
print(requests.post("https://secload.scriptlang.com/secload/publicapi/GenerateAPIKey", json={Length: 50}).text)

Logging into SecLoad

info

If the API key is invalid, it will automatically error.

from SecLoad import SecLoad
secload = SecLoad("Insert API Key here")