0.1.5 • Published 7 years ago

asuasensordata v0.1.5

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

asua sensor data api node package

AsuaSensorData - JavaScript client for asua sensor data api. This SDK is automatically generated by the Swagger Codegen project:

Installation

npm

npm install asuasensordata --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify src/index.js --s ASUASENSORDATASDK > ASUASENSORDATASDK.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var asuaSensorDataApi = require('asuasensordata');

var apiClient = new asuaSensorDataApi.ApiClient();
apiClient.basePath = basePath;
apiClient.authentications.Authorization.apiKey = "YOUR API KEY";

var observationApi = new asuaSensorDataApi.ObservationApi(apiClient)

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
observationApi.getLastObservationByProcedureAndObservedProperty("SENSOR","PROPERTY",callback);

Documentation for API Endpoints

Doc : http://netigma.netcad.com.tr/SDRest/docs

Documentation for Authorization

Authorization

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header
0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago