Ahgora is:
- a wrapper arround the unofficial Ahgora's API
- a iOS/macOS app to interact with Ahgora.
Run the following commands
-
cd Ahgora && pod install
-
Open Ahgora.xcworkspace
- Better design (iOS)
- Schedule local notifications to warn the user about the work hours limit (iOS)
- Schedule local notifications to warn the user about the work hours limit (macOS)
- URL:
https://www.ahgora.com.br/externo/getApuracao
- HTTP Method:
POST
- Content-Type:
application/x-www-form-urlencoded; charset=utf-8
- Body:
ano=YEAR&company=COMPANY_ID&matricula=EMPLOYEE_ID&mes=MONTH&senha=EMPLOYEE_PASSWORD
CURL example:
curl --request POST \
--url https://www.ahgora.com.br/externo/getApuracao \
--header 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
--data 'ano=YEAR&company=COMPANY_ID&matricula=EMPLOYEE_ID&mes=MONTH&senha=EMPLOYEE_PASSWORD'
- URL:
https://www.ahgora.com.br/externo/getApuracao
- HTTP Method:
POST
- Content-Type:
application/x-www-form-urlencoded; charset=utf-8
- Body:
ano=YEAR&company=COMPANY_ID&matricula=EMPLOYEE_ID&mes=MONTH&senha=EMPLOYEE_PASSWORD
CURL example:
- URL:
https://www.ahgora.com.br/batidaonline/verifyIdentification
- HTTP Method:
POST
- Content-Type:
application/x-www-form-urlencoded; charset=utf-8
- Body:
account=EMPLOYEE_ID&password=EMPLOYEE_PASSWORD&identity=COMPANY_AUTH_IDENTIFIER&key=
curl --request POST \
--url https://www.ahgora.com.br/batidaonline/verifyIdentification \
--header 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
--data 'account=EMPLOYEE_ID&password=EMPLOYEE_PASSWORD&identity=COMPANY_AUTH_IDENTIFIER&key='