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.5.1.tar.gz
(27.6 kB
view hashes)
Built Distribution
Close
Hashes for squarecloud_api-3.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b88d0b6f8e654750d74dd0d735cb1612144e9c0aa9ce14118fbde5e0f990cea |
|
MD5 | 6a615e017c24a5b57388c12b50795b9d |
|
BLAKE2b-256 | 75dd1248a42317e56a74cfc1c6f60481cb9ffe3001c0623955d4e502f8d9f0d1 |