Skip to main content

Octave Cloud IoT Command Line Interface (CLI)

Project description

ocsw-cli - Octave Cloud command-line tool

License: MIT

This is not an official implementation of the command line interface (CLI) for the Octave Cloud REST API.

The ocsw makes calls to Octave Cloud Infrastructure APIs to provide the functionality implemented for the various services. These are REST APIs that use HTTPS requests and responses.

API Reference

This package includes a client implementing the api described in https://rest.octave.dev/

Requirements

To install and use the CLI, you must have:

  • An Octave Cloud Infrastructure account. A user created in that account, in a group with a policy that grants the desired permissions. This account user can be that calls the API.

  • System use token-based authentication. You can get the API token for your user by logging into Octave Cloud, On the lower left side of the main page, you will see Master Token option. Click here and a pop up will display your token along with the user you will use with the Octave Cloud APIs.

Installation

As per usual:

pip install ocsw

Environment variables

VARIABLE Description
OCTAVE_CLOUD_API_URL default: https://octave-api.sierrawireless.io/v5.0
End point octave cloud
OCTAVE_CLOUD_TOKEN Master Token
OCTAVE_CLOUD_USER Your user id
OCTAVE_CLOUD_COMPANY Identifier of one of the company

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

ocsw-0.1.0.dev0.tar.gz (22.7 kB view hashes)

Uploaded Source

Built Distribution

ocsw-0.1.0.dev0-py3-none-any.whl (52.9 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