Files
cosec_automation/thecaoffice-hr.py
T
2025-12-30 05:33:46 +00:00

14 lines
812 B
Python

# Call inout register for prev day - credentials in json file
# call team list using ca office api - credentials in json file
# Api for the team list : https://api.thecaoffice.com/team/list
# check if any new names in the in out register vs team list
# if yes then add team member / branch / department as needed
# Api for the team add : https://api.thecaoffice.com/team/add
# Api for the branch add : https://api.thecaoffice.com/commons/branch/add
# Api for the department add : https://api.thecaoffice.com/commons/departments/add
# Mark attendance based on in out register time spent and hr rules
# Api for the attendance mark : https://api.thecaoffice.com/user/attendance/mark
# Api for the attendance register : https://api.thecaoffice.com/user/attendance/register
# salary register download option.