Skip to content

Repository files navigation

oort-sdk-client

Client interface to the OORT agent.

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

importoort_sdk_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

importoort_sdk_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ importprint_functionimporttimeimportoort_sdk_clientfromoort_sdk_client.restimportApiExceptionfrompprintimportpprint# Enter a context with an instance of the API clientwithoort_sdk_client.ApiClient(configuration) asapi_client:
# Create an instance of the API classapi_instance=oort_sdk_client.SdkApi(api_client)
adcs_command_request=oort_sdk_client.AdcsCommandRequest() # AdcsCommandRequest | The file and parameters for sendingtry:
api_response=api_instance.command_adcs(adcs_command_request)
pprint(api_response)
exceptApiExceptionase:
print("Exception when calling SdkApi->command_adcs: %s\n"%e)

Documentation for API Endpoints

All URIs are relative to http://localhost:2005/sdk/v1

ClassMethodHTTP requestDescription
SdkApicommand_adcsPOST /adcs
SdkApiget_adcsGET /adcs
SdkApiget_tfrsGET /tfrs
SdkApiquery_available_filesGET /query_available_files/{topic}
SdkApiretrieve_filePOST /retrieve_file
SdkApisend_filePOST /send_file

Documentation For Models

About

Repo for the Python SDK. To be shared internally and with third party SpaaS customers

Resources

Stars

1 star

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages