Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Latest commit

 

History

History
96 lines (64 loc) · 2.27 KB

README.md

File metadata and controls

96 lines (64 loc) · 2.27 KB

ai-module-client

AI module service for the NI project.

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

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

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

Then import the package:

import ai_module_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:

import ai_module_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import ai_module_client
from ai_module_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = ai_module_client.AiModuleApi(ai_module_client.ApiClient(configuration))

try:
    # Notify AI module of SFC request arrival / departure event.
    api_instance.sfcr_event()
except ApiException as e:
    print("Exception when calling AiModuleApi->sfcr_event: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost:8282/v2

Class Method HTTP request Description
AiModuleApi sfcr_event POST /sfcr_event Notify AI module of SFC request arrival / departure event.

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author