1.0.4 • Published 7 years ago
weather-data-automation v1.0.4
WeatherDataAutomation
A node script or a Web Automation tool that is used to automate adding of weather Data in DEXMA or DEXCELL.
Usage
First, install commands
:
$ npm i weather-data-automation --save -dev
Once installed create a javascript file weatherDemo.js, Once
const {weatherFunc} = require("weather-data-automation");
weatherFunc({
siteName: "siteName1", // siteNames
postCode:"postCode 1 " // postCode1,
emailId: "your email id",
password: "password of your email id ",
timezone: "time zones name", //default:Europe/London
location:" name of the location ", //dafault: united Kingdom
url:"dexma page url ", //ex:- https://optimisedbuildings.dexcell.com/login.htm
Its alwyas login page url must be provided
clientNameSelector:"clientid with selection on HTML ", // ex: .selection_container[id='3786']
launchSettings:{ devtools: true,// add any customised settings according pupeeteer}
})
To run in Terminal
node weatherDemo.js
Demo code weatherDemo.js , is put up on the Repo for more Reference. Feel free to play with them .