Skip to main content

Legrand ELIOT : Data Service Catalog API

Project description


No description provided (generated by Swagger Codegen

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

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


Python 2.7 and 3.4+

Installation & Usage

pip install

pip install legrand_eliot_data_service

Then import the package:

import legrand_eliot_data_service 


Install via Setuptools.

python install --user

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

Then import the package:

import legrand_eliot_data_service

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import legrand_eliot_data_service
from import ApiException
from pprint import pprint

# Configure API key authorization: apiKeyHeader
legrand_eliot_data_service.configuration.api_key['Ocp-Apim-Subscription-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# legrand_eliot_data_service.configuration.api_key_prefix['Ocp-Apim-Subscription-Key'] = 'Bearer'
# Configure API key authorization: apiKeyQuery
legrand_eliot_data_service.configuration.api_key['subscription-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# legrand_eliot_data_service.configuration.api_key_prefix['subscription-key'] = 'Bearer'
# create an instance of the API class
api_instance = legrand_eliot_data_service.DefaultApi()
authorization = 'authorization_example' # str | OpenID Connect Access Token obtained from ELIOT - Azure AD B2C. Supported grant types: Authorization code, Implicit.
plant_create_view_model = legrand_eliot_data_service.PlantCreateViewModel() # PlantCreateViewModel | Plant information (optional)

    # Create a new plant
    api_response = api_instance.createplant(authorization, plant_create_view_model=plant_create_view_model)
except ApiException as e:
    print("Exception when calling DefaultApi->createplant: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to

Class Method HTTP request Description
DefaultApi createplant POST /plants Create a new plant
DefaultApi getallmodules GET /modules Get all active modules
DefaultApi getallplants GET /plants Get all plants
DefaultApi getmodulebyid GET /modules/{id} Get a module
DefaultApi getmodulelastmetricbyidandmetricname GET /modules/{id}/lastmetrics/{metricName} Get specific last metric of a module
DefaultApi getmodulelastmetricsbyid GET /modules/{id}/lastmetrics Get last metrics of a module
DefaultApi getmodulemetrichistory GET /modules/{id}/metrics/{metricName} Get metric history of a module
DefaultApi getplantbyid GET /plants/{id} Get a plant
DefaultApi getplantmodulesbyid GET /plants/{id}/modules Get all active modules of a plant
DefaultApi gettopologybyplantid GET /plants/{plantId}/topology Get plant topology
DefaultApi inviteuserbyidandemail POST /modules/{id}/delegatedusers/{email} Delegate a module to a user
DefaultApi puttopologybyplantid PUT /plants/{plantId}/topology Create or update a topology
DefaultApi removedelegateuserbyemail DELETE /modules/{id}/delegatedusers/{email} Remove a delegated user from a module
DefaultApi removeplantbyid DELETE /plants/{id} Delete a plant
DefaultApi updatemodulebyid PATCH /modules/{id} Update a module
DefaultApi updateplantbyid PATCH /plants/{id} Update a plant

Documentation For Models

Documentation For Authorization


  • Type: API key
  • API key parameter name: Ocp-Apim-Subscription-Key
  • Location: HTTP header


  • Type: API key
  • API key parameter name: subscription-key
  • Location: URL query string


Project details

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
legrand_eliot_data_service-1.14.1-py2-none-any.whl (97.0 kB) Copy SHA256 hash SHA256 Wheel py2 Jul 6, 2018
legrand_eliot_data_service-1.14.1.tar.gz (38.5 kB) Copy SHA256 hash SHA256 Source None Jul 6, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page