https://github.com/testica/a3hrgo-sdk
a3HRgo sdk to automatize your reports
https://github.com/testica/a3hrgo-sdk
a3hrgo crawler javascript puppeteer
Last synced: 8 months ago
JSON representation
a3HRgo sdk to automatize your reports
- Host: GitHub
- URL: https://github.com/testica/a3hrgo-sdk
- Owner: testica
- Created: 2019-05-16T08:44:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T03:30:12.000Z (about 3 years ago)
- Last Synced: 2025-01-31T07:11:11.184Z (over 1 year ago)
- Topics: a3hrgo, crawler, javascript, puppeteer
- Language: TypeScript
- Homepage:
- Size: 191 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# a3HRgo SDK
[](https://badge.fury.io/js/a3hrgo-sdk)
### Requisites
- Node >= 6
- NPM
### Install
```
npm install a3hrgo-sdk
```
### Usage
``` ts
import { A3hrgo } from 'a3hrgo-sdk';
const a3hrgo = new A3hrgo({
id: "xxxx", password: "xxxx"
});
// Do a report
(async () => {
await a3hrgo.report();
})();
```
### API
- `A3hrgo(credentials, options)` class constructor
- credentials: object
- id: string
- password: string
- options: object
- showInterface: boolean to enable/disable headless chrome
- `report()` async method class to do a report