SquareCloud API wrapper
Project description
squarecloud-api
squarecloud-api is a wrapper for the Square Cloud API mainted by @alma
Installing
pip install squarecloud-api
Getting api key
to get your api key/token just go to the Square Cloud website and
register/login, after that go
to dashboard
> my account
> Regenerate API/CLI KEY
and copy the key.
Documentation
you can read the documentation here.
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.2.0.tar.gz
(22.5 kB
view hashes)
Built Distribution
Close
Hashes for squarecloud_api-3.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e93c6232fead2fe29f19a1638ffb07140436914d03459af0cd775ecd79f30e95 |
|
MD5 | 920101e01177f679d34e7edafcf2769b |
|
BLAKE2b-256 | e47fb933144f0e5e760e557b7db3c4bad36f557c6fc3a00157f909cec7bcfaf6 |