JavaScript
Luau
HTML5
Node.js
Prisma
API Methods to verify users have completed advertisement links:
| Intended Usage: Discord Bots, Web Applications, API’s
Validate completed links via Discord ID:
const packet = await fetch(`https://link.eleutheri.com/v1/project/:projectPrefix/discord/:discordID`);
if (packet.status !== 200) {
return console.log("Invalid License");
}
const body = await packet.json();
if (!body.valid) {
return console.log("Invalid License");
}
console.log("Valid License:", body);
| Intended Usage: Lua(u) Scripts, Python Scripts, Desktop Applications
import requests
project_prefix = ""
license_key = input("License Key: ")
response = requests.get("https://link.eleutheri.com/v1/project/{}/licenses/{}".format(project_prefix, license_key))
if response.status_code != 200:
print("Invalid License")
exit(1)
body = response.json()
if not body["valid"]:
print("Invalid License")
exit(1)
print("Valid!", body)
We’re open to contributions of all kinds—bug fixes, new features, or even documentation improvements! Check out our guidelines on how to get started.