Square Cloud 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.1.1.tar.gz
(22.2 kB
view hashes)
Built Distribution
Close
Hashes for squarecloud_api-3.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f0feee818f441db9bdbac89429bdb9878b76b17eb33167a46ff09006cacbb4c |
|
MD5 | 63e8570dc17de39925c365c72a30a701 |
|
BLAKE2b-256 | 85b8dae7cf0137ce5a7f5eab69e3d7b935980c86373f17120b76d74814a10c3d |