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.3.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for squarecloud_api-3.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ecb526f99f83021579787afb8984f41f81df88eb5dd4c7396b2dc1d614cee0 |
|
MD5 | 41855294b0ea2dc9a3aacff9a15f27e2 |
|
BLAKE2b-256 | 642629dc4da3bf2c2857e136105e26a4c8d7261e4408cb00fceaa25fa08303a2 |