A Simple api i created from my universtity Student Portal.
https://ruby-courageous-boa.cyclic.app/
GET /profile
- returns Student Name and Profile Image
GET /courses
- returns Current Semester Courses
GET /courses/all
- returns all courses taken so far
GET /result
- returns current cgpa and Provisional Transcript CGPA
GET /course/attendence
- returns an array of Object { date : 'LEC DATE' , number : 'LEC NUMBER' , attendence : 'STATUS' }
GET /course/recap
- returns an Object
GET /semester/result
- returns an JSON
NOTE : Please Pass Cookie or Server will Crash .
https://ruby-courageous-boa.cyclic.app/profile?cookie=YOUR_ACCOUNT_COOKIE
Pass the Params Cookie along with course detail
"cookie" : string
"txtFac": string,
"txtCou": string,
"txtSem": string,
"txtSec": string
let headersList = {
"Accept": "*/*",
"Content-Type": "application/x-www-form-urlencoded"
}
let response = await fetch("/attendence?cookie=YOUR_COOKIE_HERE&txtFac=AsimRiaz&txtCou=2xxx&txtSem=1xxxx&txtSec=xx", {
method: "GET",
headers: headersList
});
let data = await response.json();
console.log(data);
GET /semester/result params
"cookie" : string
"end_point": string || 'StdViewSemesterResult.asp?sid=9xxxxx',
"semester": string || '1-Fall++2020',