## Worflow install the dependencies by running `pip install -r requirements.txt` start the server by running `$python server.py` ### Login `$ http --session=./session.json -f POST http://127.0.0.1:5000/api/login username=user@example.com password=password` ### Update Attendance #### Student : `$ http --session=./session.json -f POST http://127.0.0.1:5000/api/attendance/student presence=absent identifier=2 time=now` #### Class : `$ http --session=./session.json -f POST http://127.0.0.1:5000/api/attendance/class presence=present identifier=1 time=now` ### Get Attendance #### Student: `$ http --session=./session.json GET "http://127.0.0.1:5000/api/attendance/student?identifier=2&start_time=now&end_time=now"` or `$ http --session=./session.json GET "http://127.0.0.1:5000/api/attendance/student?identifier=3&start_time=now&end_time=now"` #### Class: `$ http --session=./session.json GET "http://127.0.0.1:5000/api/attendance/class?identifier=1&start_time=now&end_time=now"`