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.1.tar.gz
(23.7 kB
view hashes)
Built Distribution
Close
Hashes for squarecloud_api-3.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a425e4eddbc69f5cd25d57a5a65f31027df2d0fa5cd10d70185b78aa48212290 |
|
MD5 | 8c357daca1f31e16f3cee1cedb1ad92b |
|
BLAKE2b-256 | 2f6ab4b8d85ee7ef1dadfb0021d8c05aba36c9d7b96e8525bd9cc204c80d5af4 |