(20260216) Attendance mark is blazing fast now
This commit is contained in:
+14
-11
@@ -96,17 +96,20 @@ from icecream import IceCreamDebugger
|
||||
class AsyncTheCAOffice:
|
||||
|
||||
# URLs:
|
||||
LOGIN_URL = r"https://api.thecaoffice.com/ca/login"
|
||||
LOGOUT_URL = r"https://api.thecaoffice.com/user/logout"
|
||||
BRANCH_LIST_URL = r"https://api.thecaoffice.com/commons/branch/list"
|
||||
BRANCH_ADD_URL = r"https://api.thecaoffice.com/commons/branch/add"
|
||||
DEPT_LIST_URL = r"https://api.thecaoffice.com/commons/departments/list"
|
||||
DEPT_ADD_URL = r"https://api.thecaoffice.com/commons/departments/add"
|
||||
TEAM_LIST_URL = r"https://api.thecaoffice.com/team/list"
|
||||
TEAM_ADD_URL = r"https://api.thecaoffice.com/team/add"
|
||||
TEAM_UPDATE_URL = r"https://api.thecaoffice.com/team/update"
|
||||
ATTENDANCE_LIST_URL = r"https://api.thecaoffice.com/user/attendance/register"
|
||||
ATTENDANCE_MARK_URL = r"https://api.thecaoffice.com/user/attendance/mark"
|
||||
BASE_URL = r"https://api.thecaoffice.com"
|
||||
LOCALHOST_URL = r"http://127.0.0.1:5205"
|
||||
# ---
|
||||
LOGIN_URL = f"{BASE_URL}/ca/login"
|
||||
LOGOUT_URL = f"{BASE_URL}/user/logout"
|
||||
BRANCH_LIST_URL = f"{BASE_URL}/commons/branch/list"
|
||||
BRANCH_ADD_URL = f"{BASE_URL}/commons/branch/add"
|
||||
DEPT_LIST_URL = f"{BASE_URL}/commons/departments/list"
|
||||
DEPT_ADD_URL = f"{BASE_URL}/commons/departments/add"
|
||||
TEAM_LIST_URL = f"{BASE_URL}/team/list"
|
||||
TEAM_ADD_URL = f"{BASE_URL}/team/add"
|
||||
TEAM_UPDATE_URL = f"{BASE_URL}/team/update"
|
||||
ATTENDANCE_LIST_URL = f"{BASE_URL}/user/attendance/register"
|
||||
ATTENDANCE_MARK_URL = f"{BASE_URL}/user/attendance/mark"
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user