Skip to main content

SquareCloud API wrapper

Project description

Square Cloud Banner

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


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.0.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

squarecloud_api-3.7.0-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file squarecloud_api-3.7.0.tar.gz.

File metadata

  • Download URL: squarecloud_api-3.7.0.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.6.42-1-lts

File hashes

Hashes for squarecloud_api-3.7.0.tar.gz
Algorithm Hash digest
SHA256 49b496ef363c8bf8ddbe26d9f1713df7b8edcce56bb14c4398b11b803cfa8285
MD5 62ebddaacfb4ca6173114e23db610fb5
BLAKE2b-256 5dbd370b7d73401eafb3b768b7acddfe2090aac019cd222ded4e1b08b4c0daf9

See more details on using hashes here.

File details

Details for the file squarecloud_api-3.7.0-py3-none-any.whl.

File metadata

  • Download URL: squarecloud_api-3.7.0-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.6.42-1-lts

File hashes

Hashes for squarecloud_api-3.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc2406ef218caa8fd0be9e3c378b81b23cee2582c1b5ddbd701991601d0b89da
MD5 4afcf4b1bf1359232ec46393f0443d5f
BLAKE2b-256 39de9379d77a11a644f4e3e49665a8d1d124795c476b0898459c4b0ebf37d4f3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page