https://github.com/brunolm/btd-ahgora
Check the time you have to clock in/out based on Ahgora records.
https://github.com/brunolm/btd-ahgora
Last synced: 3 months ago
JSON representation
Check the time you have to clock in/out based on Ahgora records.
- Host: GitHub
- URL: https://github.com/brunolm/btd-ahgora
- Owner: brunolm
- Created: 2016-05-13T03:06:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-30T01:28:01.000Z (almost 8 years ago)
- Last Synced: 2025-03-19T22:16:14.017Z (3 months ago)
- Language: TypeScript
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Beat The Dot Ahgora
Scrapes Ahgora page to check when you have to clock in/out.
Sample usage:
```
npm start -- -c a123456 -u 1 -p 123456 -t 10 -a 11:30 -l 60 -w 8 -s
```## Params
The command line parameters are:
```
-c, --company [code] Ahgora company code
-u, --user [user] Ahgora user code
-p, --pass [pass] Ahgora pass code
-t, --tolerance [minutes] Tolerance minutes (ex: 10)
-a, --lunch-at [HH:mm] Lunch time (ex: 11:30)
-l, --lunch-time [minutes] Lunch minutes (ex: 60)
-w, --work-hours [hours] Total work hours a day (ex: 8)
-s, --show-grid Shows whole month grid
```If not specified it tries to read from environment variables:
```
AHGORA_COMPANY
AHGORA_USER
AHGORA_PASS
AHGORA_TOLERANCE
AHGORA_LUNCHAT
AHGORA_LUNCHTIME
AHGORA_WORKHOURS
AHGORA_SHOWGRID
```