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.7.2.tar.gz
(24.4 kB
view details)
Built Distribution
File details
Details for the file squarecloud_api-3.7.2.tar.gz
.
File metadata
- Download URL: squarecloud_api-3.7.2.tar.gz
- Upload date:
- Size: 24.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.6.47-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3c4ae3dd2fdfcd81eb0f428a56a6ad7875d543ecea01c309015fa9afb7deac3 |
|
MD5 | 43998bd82fc333527d70b3af9824b7ed |
|
BLAKE2b-256 | ecaf65766906deca680e69a199fa2dd91d8b7521b9208a91b7d56e7fc9061e0f |
File details
Details for the file squarecloud_api-3.7.2-py3-none-any.whl
.
File metadata
- Download URL: squarecloud_api-3.7.2-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.6.47-1-lts
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d80799ca282d556ad13cf446f8f6fbb26e327a70326d450141e4be39d698b1 |
|
MD5 | 85ac1c34674ba1005f6d61e55289d4c5 |
|
BLAKE2b-256 | b7bf29e17ff24e4c2c7bd84eb9f52f465c46ae1a677bdc09a5fba3a1a3d9b313 |