Skip to main content

Scarlex API Wrapper

Project description

Scarlex Asynchronous API Wrapper

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


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)

Uploaded Source

Built Distribution

scarlex-1.0.2-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

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