lnctApi package

Submodules

lnctApi.accsoft_api module

class lnctApi.accsoft_api.accsoft(userId, pswd)[source]

Bases: object

This Class Contains all the Function for getting Student Accsoft information

Arg:

userId (str): Accsoft Identification Number given by College
pswd (str): Password for the Accsoft Id

attendanceDatewise()[source]

This Function fetches Attendance of the Student Datewise

Returns:

json: Returns datewise attendance in following format
{

“name”: STUDENT_NAME,
“attendance”: [{

”day”: DATE,
“main”: [{

”subject”: SUBJECT,
“status”: STATUS

}, {

“subject”: SUBJECT,
“status”: STATUS

}]

}, {

“day”: DATE,
“main”: [{

”subject”: SUBJECT,
“status”: STATUS

}, {

“subject”: SUBJECT,
“status”: STATUS

}]

}]

}

attendancePercentage()[source]

This Function fetches short information on Attendace

Returns:

json: Returns attendance information in following format
{

“name”: NAME,
“totalLectures”: TOTAL_LECTURES_HELD,
“present”: TOTAL_LECTURES_PRESENT,
“absent”: TOTAL_LECTURES_ABSENT,
“percentage”: TOTAL_PERCENTAGE

}

attendanceSubjectwise()[source]

This Function fetches Attendance of the Student Subjectwise

Returns:

json: Returns subjectwise attendance in following format
{

“name”: STUDENT_NAME,
“attendance”: [{

”subject”: SUBJECT_NAME,
“subShort”: SHORT_NAME_SUBJECT,
“totalLectures”: TOTAL_HELD_LECTURES,
“present”: LECTURES_PRESENT,
“absent”: LECTURES_ABSENT

}, {

“subject”: SUBJECT_NAME,
“subShort”: SHORT_NAME_SUBJECT,
“totalLectures”: TOTAL_HELD_LECTURES,
“present”: LECTURES_PRESENT,
“absent”: LECTURES_ABSENT

}]

}

feeStatus()[source]

This Function fetches Fees Information which are Paid

Returns:

json: Returns Paid Fees information in following format
{

“name”: STUDENT_NAME,
“feesInfo”: [{

”txnDate”: TRANSACTION_DATE,
“VNumber”: VOUCHER_NUMBER,
“totalAmt”: FEES_PAID

}, {

“txnDate”: TRANSACTION_DATE,
“VNumber”: VOUCHER_NUMBER,
“totalAmt”: FEES_PAID

}]

}

feetxn()[source]

This Function fetches All the Fees Transaction which are Initiated through Accosft

Returns:

json: Returns Online Fees Transactions in following format
{

“name”: STUDENT_NAME,
“feetxn”: [{

”date”: TRANSACTION_DATE,
“paymentId”: PAYMENT_ID,
“amount”: TRANSACTION_AMOUNT,
“status”: TRANSACTION_STATUS

}, {

“date”: TRANSACTION_DATE, “paymentId”: PAYMENT_ID,
“amount”: TRANSACTION_AMOUNT,
“status”: TRANSACTION_STATUS

}]

}

fineRecord()[source]

This Function fetches All the Fine Records of the Library

Returns:

json: Returns Fine Records in following format
{

“name”: STUDENT_NAME,
“fine”: [{

”libName”: LIBRARY_NAME,
“collectedBy”: FINE_COLLECTOR,
“date”: FINE_DATE,
“amt”: FINED_AMOUNT

}, {

“libName”: LIBRARY_NAME,
“collectedBy”: FINE_COLLECTOR,
“date”: FINE_DATE,
“amt”: FINED_AMOUNT

}]

}

libRecord()[source]

This Function fetches All the Records of Issued Book from the Library

Returns:

json: Returns Issued Book information in following format
{

“name”: STUDENT_NAME,
“bookRecord”: [{

”date”: ISSUED_DATE,
“bookName”: BOOK_NAME,
“dueDate”: DUE_DATE,
“returnedDate”: RETURNED_DATE,
“lateDay”: LATE_DAY

}, {

“date”: ISSUED_DATE,
“bookName”: BOOK_NAME,
“dueDate”: DUE_DATE,
“returnedDate”: RETURNED_DATE,
“lateDay”: LATE_DAY

}]

}

profile()[source]

This Function fetches profile information of the Student

Returns:

json: Returns profile information in following format
{

“name”: STUDENT_NAME,
“college”: COLLEGE_NAME,
“course”: COURSE,
“section”: SECTION,
“enrollmentId”: ENROLLMENT_NUMBER,
“scholarId”: SCHOLAR_ID,
“accsoftId”: ACCSOFT_ID,
“MobileNumber”: MOBILE_NUMBER,
“email”: EMAIL_ID,
“profileImage”: PROFILE_IMAGE_LINK

}

Module contents