Scarlex API Wrapper
Project description
Scarlex Asynchronous API Wrapper
- [Discord] : https://discord.gg/ZKzmmt4gvq
- [Site] : https://scarlex.org/api
How To Use
- join our Discord for any support (link above).
- register your own profile on our website (link above).
- then login and you're ready to fetch endpoints and check your stats.
Examples
# import ApiClient from sharex package.
from scarlex import ApiClient
# import asyncio if you want to run clint Synchronously else the pacakage is in asynchronous format.
import asyncio
# create an instance of client with name and password
client = ApiClient(name="A V I X I T Y", password="pass.word")
data = asyncio.run(client.make_request("progressbar?max=100&value=69&size=100&style=3"))
# If using asynchronously [can be used only inside async functions]
# data = await client.make_request("progressbar?max=100&value=69&size=100&style=3")
print(data.json)
print(data.status)
print(data.message)
Developers / Contributors
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
scarlex-1.0.2.tar.gz
(6.7 kB
view hashes)