Comparing version 0.0.10 to 0.0.11
{ | ||
"name": "jsjiit", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Browser-compatible API for interacting with JIIT (Jaypee Institute of Information Technology) WebPortal. Bypasses CAPTCHA :)", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -24,3 +24,3 @@ # 🎓 JSJIIT - JIIT Web Portal Wrapper | ||
```javascript | ||
import { WebPortal } from 'https://cdn.jsdelivr.net/npm/jsjiit@0.0.10/dist/jsjiit.min.esm.js'; | ||
import { WebPortal } from 'https://cdn.jsdelivr.net/npm/jsjiit@0.0.11/dist/jsjiit.min.esm.js'; | ||
``` | ||
@@ -69,30 +69,30 @@ | ||
} | ||
let subjectAttendance = await w.get_subject_daily_attendance(sem, subjectid, individualsubjectcode, subjectcomponentids); | ||
let subjectAttendance = await portal.get_subject_daily_attendance(sem, subjectid, individualsubjectcode, subjectcomponentids); | ||
``` | ||
```javascript | ||
// Check SGPA & CGPA | ||
const sgpaCgpa = await w.get_sgpa_cgpa(); | ||
const sgpaCgpa = await portal.get_sgpa_cgpa(); | ||
``` | ||
```javascript | ||
// Download marks for a semester | ||
const marksSems = await w.get_semesters_for_marks(); | ||
const marksSems = await portal.get_semesters_for_marks(); | ||
const previousSem = marksSems[1]; | ||
const marks = await w.download_marks(previousSem); | ||
const marks = await portal.download_marks(previousSem); | ||
``` | ||
```javascript | ||
// Get registered subjects & faculties for a semester | ||
const registerdSems = await w.get_registered_semesters(); | ||
const registerdSems = await portal.get_registered_semesters(); | ||
const latestSem = registerdSems[0]; | ||
const registeredSubjects = await w.get_registered_subjects_and_faculties(latestSem); | ||
const registeredSubjects = await portal.get_registered_subjects_and_faculties(latestSem); | ||
``` | ||
```javascript | ||
// Get Exam Schedule & Venue | ||
const examSems = await w.get_semesters_for_exam_events(); | ||
const examSems = await portal.get_semesters_for_exam_events(); | ||
const latestSem = examSems[0]; | ||
const examEvents = await w.get_exam_events(latestSem); | ||
const examSchedule = await w.get_exam_schedule(examEvents[0]); | ||
const examEvents = await portal.get_exam_events(latestSem); | ||
const examSchedule = await portal.get_exam_schedule(examEvents[0]); | ||
``` | ||
```javascript | ||
// Get Personal info like name, address ... | ||
const personalInfo = await w.get_personal_info(); | ||
const personalInfo = await portal.get_personal_info(); | ||
``` | ||
@@ -99,0 +99,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
164292