Skip to main content

CROC Cloud Platform - API Client

Project description

Simple command-line utility for sending custom requests to CROC Cloud platform.

Warning: this utility is not intended for automation cases. Use https://github.com/c2devel/boto.git and python scripts instead.

Installation

Using pip:

$ pip install c2client

Usage

$ c2-ec2 --help
usage: c2-ec2 [-h] action [parameters [parameters ...]]

positional arguments:
   action          The action that you want to perform.
   parameters      Any parameters for the action. Parameters specified by parameter
                   key and parameter value separated by space.

optional arguments:
   -h, --help      show this help message and exit
   --no-verify-ssl disable verifying ssl certificate

Common request syntax:

$ c2-ec2 <action> <arg1> <value1> <arg2> <value2>

Example

Send simple request:

$ c2-ec2 RunInstances ImageId cmi-078880A0 Description "Test instance" \
InstanceType m1.small MaxCount 1 MinCount 1 SecurityGroup.1 test

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

c2client-0.22.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

c2client-0.22-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

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