Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 790 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 790 Bytes

JUIT Webkiosk API

  1. Do npm i

  2. Start the server by running node server.js

  3. POST username and password as body (json) to <server it is hosted on>/api/v1/login. This will send you a cookie which you can use to fetch attendance and marks.

login

  1. POST received cookie as body (json) to <server it is hosted on>/api/v1/attendance and <server it is hosted on>/api/v1/marks to get respective data.

attendance

  1. Attendance route will send an additional detailedAttendance key which can be sent in body (json) along with cookie having link as its key to <server it is hosted on>/api/v1/detailedAttendance, this will fetch you the detailed attendance of a particular subject.

detailedAttendance