- Node >= 6
- NPM
npm install a3hrgo-sdk
import { A3hrgo } from 'a3hrgo-sdk';
const a3hrgo = new A3hrgo({
id: "xxxx", password: "xxxx"
});
// Do a report
(async () => {
await a3hrgo.report();
})();
-
A3hrgo(credentials, options)
class constructor- credentials: object
- id: string
- password: string
- options: object
- showInterface: boolean to enable/disable headless chrome
- credentials: object
-
report()
async method class to do a report