SquareCloud API wrapper
Project description
squarecloud-api
squarecloud-api is a wrapper for the Square Cloud API mainted by @alma
Installing
pip 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
you can read the documentation here.
Basic usage
import asyncio
import squarecloud as square
client = square.Client('API_KEY', debug=True)
async def main():
status = await client.app_status(app_id='application_id')
print(status)
print(status.ram)
print(status.cpu)
asyncio.run(main())
License
MIT License
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.3.2.tar.gz
(23.9 kB
view hashes)
Built Distribution
Close
Hashes for squarecloud_api-3.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b2fdd2226a266b53f22783b95ebbc048c73cc3c2632251d95ec2f53f9e2e828 |
|
MD5 | 0290f91d8a91f8b3ccc35a2f4d723bb8 |
|
BLAKE2b-256 | 6865138c9578b242d9133c468ce7f0262f92e954cb21cc6b715d368984f119c6 |