SquareCloud API wrapper
Project description
squarecloud-api
A Python SDK for consuming the Square Cloud API.
Installation
pip install squarecloud-api
If you intend to use this SDK for command-line interface (CLI) operations, consider installing it with pipx:
pipx 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
Visit our official documentation for more information about how to use this library.
Getting started
import asyncio
import squarecloud as square
client = square.Client('API_KEY')
async def main():
status = await client.app_status(app_id='application_id')
print(status)
print(status.ram)
print(status.cpu)
asyncio.run(main())
Contributing
Feel free to contribute with suggestions or bug reports at our GitHub repository.
Authors
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.6.1.tar.gz
(23.6 kB
view details)
Built Distribution
File details
Details for the file squarecloud_api-3.6.1.tar.gz
.
File metadata
- Download URL: squarecloud_api-3.6.1.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.6.39-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b0e9c46724eed0172ac7014a5b9e667036eebd175f606ea163d13de5531d3db |
|
MD5 | c07d7641b5fdaca3d5af21d4c15238ad |
|
BLAKE2b-256 | 09c10c19d65e69ad15537b294eb800ad3ba3cde8c99c3437ffb3af44a3da8204 |
File details
Details for the file squarecloud_api-3.6.1-py3-none-any.whl
.
File metadata
- Download URL: squarecloud_api-3.6.1-py3-none-any.whl
- Upload date:
- Size: 29.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.6.39-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f26579f5c4f131724dfa6bf3d808789702235424609861f8b683c11633103e6e |
|
MD5 | 2f780ca7dda170ac7bcc1a2b2f286325 |
|
BLAKE2b-256 | ee8156f764d8fe8927864099a8efe652cc65ed284d2892761821f599a3e64c11 |