HR manager
sudo pip3 install HRlo
git clone https://github.com/so07/HRlo.git
cd HRlo
sudo python3 setup.py install
accaerralo -h
HRlo -h
accaerralo -u USER -i IDEMPLOY -a HR_COMPANY_URL
Password:
accaerralo -u USER -i IDEMPLOY -a HR_COMPANY_URL -s
accaerralo -u USER -i IDEMPLOY -a HR_COMPANY_URL -s -c CONFIG_FILE
accaerralo -u USER -i IDEMPLOY -a HR_COMPANY_URL -s --save-password
accaerralo -d
accaerralo -w
accaerralo -m
accaerralo -M
accaerralo -mw -t
accaerralo --from YYYY-MM-DD --to YYYY-MM-DD
accaerralo -p SURNAME
accaerralo -n PHONE_NUMBER
accaerralo --in SURNAME
accaerralo --tot
accaerralo --report-keys KEY1 KEY2
This wiki is about how to create and run a HRlo
bot in Telegram
Talk to @BotFather and type /newbot
for a new bot and follow the instructions
you:
/newbot
BotFather:
Alright, a new bot. How are we going to call it? Please choose a name for your bot.
you:
HRlo
BotFather:
Good. Now let's choose a username for your bot. It must end in `bot`. Like this, for example: TetrisBot or tetris_bot.
you:
HRlo_bot
BotFather:
....
Use this token to access the HTTP API:
TOKEN
Save the TOKEN and paste it in the token key of HRbot section in the HRlo configuration file
$ vi ~/.HRlo
[HRauth]
...
[HRbot]
token = TOKEN
Launch HRbot
executable on a server with a working installation of HRlo
$ HRbot
Open Telegram App or go to Telegram Web in a browser and start talk with HRlo
bot.
List of simple commands to run in telegram bot.
help of commands
/help
launch simple inline button interface
/hrlo
estimated exit times report
/exit
today times report
/time
today time stamps report
/stamp
check status of worker
/in name [name ...]
get worker's phone number
/phone name [name ...]
get worker's name from a phone number
/name 12345 [12345 ...]