Octave Cloud IoT Command Line Interface (CLI)
Project description
ocsw-cli - Octave Cloud command-line tool
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
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
Built Distribution
Hashes for ocsw-0.1.0.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aafbde37eea785f0e42ef0f0ad8d6f576ad5f1cae1aa88324cdc3cb837ccb12 |
|
MD5 | 5e24b80682f5020981213986ac235702 |
|
BLAKE2b-256 | 0df0d3093194c270df39f0311d9891e243eafa0b722404a8c35227719b47238f |