Metadata-Version: 2.1
Name: squarecloud-api
Version: 3.3.2
Summary: SquareCloud API wrapper
Home-page: https://github.com/squarecloudofc/wrapper-api-py
License: MIT
Author: Robert Nogueira
Author-email: robertlucasnogueira@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: aiohttp (==3.9.3)
Requires-Dist: click (>=8.1.6,<9.0.0)
Requires-Dist: pydantic (>=2.5.2,<3.0.0)
Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
Requires-Dist: rich (>=13.5.2,<14.0.0)
Project-URL: Documentation, https://docs.squarecloud.app/sdks/py
Project-URL: Repository, https://github.com/squarecloudofc/wrapper-api-py
Description-Content-Type: text/markdown

[Square Cloud]: https://squarecloud.app

[Square Cloud API]: https://docs.squarecloud.app/api-reference/

[@alma]: https://github.com/Robert-Nogueira

# 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](https://docs.squarecloud.app/sdks/py)
> you can read the documentation [**here**](https://docs.squarecloud.app/sdks/py).

## Basic usage
```python
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

