python-scaleway
python-scaleway copied to clipboard
:snake: Python SDK to query Scaleway APIs.
Listing bucket size for large bucket is inefficient using boto or other tools. I look at the API calls from console and create a new API class.
Using following: ``` compute_api = ComputeAPI(auth_token=secret_key, region='pl-waw-1') compute_api.query().servers.post({'project': org_id, "name": 'test', "commercial_type": "DEV1-M"}) ``` Got: ``` Traceback (most recent call last): File "", line 1, in File "/home/draven/.local/lib/python2.7/site-packages/slumber/__init__.py", line 167,...
This commit adds support for the Baremetal API.
All examples in the readme only demonstrate the usage for GET requests. There is not a single example for other request types like POST. I needed to dig inside the...
When a request returns an error the exception printed to the console is quite useless because it does not contain the message of the response. Just the error code. It...
I have a staging server with logging config setup to `logging.DEBUG` If I just use the default `logging.basicConfig` (_ie_ without turning off scaleway logs), my secrets will leak in the...