/netilion-all-example

Example of using netilion-all npm package with NodeJS

Primary LanguageJavaScript

This is an example application demonstrating how to use netilion-all Javascript package.

NPM: https://www.npmjs.com/package/netilion-all

This package is just a helper for accessing Netilion REST endpoints with Javascript.
https://api.staging-env.iiot.endress.com/doc/v1/ (staging)
or
https://api.iiot.endress.com/doc/v1/ (productive)

This example uses yarn, but package can be also used with npm.

  1. Execute yarn install in this folder
  2. Create .env file in the projects root with the following entries:

Complete content will look something like this:

BASE_NETILION_URL = https://api.staging-env.iiot.endress.com/v1
API_KEY = 00000000000000000000000000
USER = example@server.com
PASS = passwordForThisUser
  1. Execute node index.js. Data of the user and list of Netilion assets available to the user will be shown.