SquareCloud API wrapper
Project description
squarecloud-api
squarecloud-api is a wrapper for the SquareCloudAPI mainted by @alma
Installing
pip install squarecloud-api
Getting api key
to get your api key/token just go to the SquareCloud website and
register/login, after that go
to dashboard
> my account
> Regenerate API/CLI KEY
and copy the key.
Documentation
Basic usage
import squarecloud as square
import asyncio
client = square.Client('API_KEY', debug=True)
async def main():
status = await client.app_status(app_id='application_id')
print(status)
print(status.ram)
print(status.cpu)
asyncio.run(main())
License
MIT License
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
squarecloud-api-3.0.1.tar.gz
(12.1 kB
view hashes)