1.0.1 • Published 5 years ago

x-cite-listreports v1.0.1

Weekly downloads
9
License
-
Repository
-
Last release
5 years ago

Available Scripts

In you project directory, run this script to install the package:

npm i x-cite-listreports

To start using the package , import the module into your component

import {SensorService} from 'x-cite-listreports'

instantiate your class into a front end component with this two params: ApiEndPoint and token

this.sensorService = new SensorService([apiEndpoint],[token]);

then you will be able to call the method from the service

this.sensorService.getListReportsService( [id_of_the_room], async (status) => {
    console.log(status)
}, async (data) => {
    console.log(data)
})