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.0.tar.gz
(23.6 kB
view details)
Built Distribution
File details
Details for the file squarecloud_api-3.6.0.tar.gz
.
File metadata
- Download URL: squarecloud_api-3.6.0.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.2-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3adfbeb1220ea636dc40692ecc0bb44c60e7f129c8b094c3af4b0789cb13282 |
|
MD5 | bcb8cd5517bc30dc9c2e08e1ebf0c4fd |
|
BLAKE2b-256 | 3df1d20a75fd713c8fc6562046eb7fd0a2bd9b74c14355e3f2dd7fe8a802977a |
File details
Details for the file squarecloud_api-3.6.0-py3-none-any.whl
.
File metadata
- Download URL: squarecloud_api-3.6.0-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.9.2-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72d4ee440b629738de7241d9e48d30dbb2c5ea0e942b32abbe2cefa72f0f31c6 |
|
MD5 | 1c91dfff3a23794f262a682874928868 |
|
BLAKE2b-256 | 12764783adffd46b2a21216ae6d60c7a2667600db48839c33046ca603cd4864d |