ktis-parser
This is parser of default information of "ktis.kookmin.ac.kr" with student-number & password
How 2 use
pip3 install ktis-parser
or
pip install ktis-parser
after then
from ktis_parser.ktis_parser import *
print(parseInfoFromKTIS("2017XXXX","password"))
it is return when, successful.
{
"status": "True",
"content": {
"id": "2017XXXX",
"name": "{YOUR_NAME}",
"ssn": "{YOUR_SOCIAL_SECURITY_NUMBER}",
"college": "{YOUR_COLLEGE}",
"school": "{YOUR_SCHOOL}",
"time": "{YOUR_TIME}",
"major": "{YOUR_MAJOR}",
"date": "{YOUR_IN_DATE}",
"status": "{YOUR_STATUS}",
"grade": "{YOUR_GRADE}",
"passwd": "{YOUR_PASSWORD}"
}
}
then fail case
{
"status": "False",
"content": "μ‘΄μ¬νμ§ μλ μ¬μ©μμ
λλ€."
}
{
"status": "False",
"content": "λΉλ°λ²νΈκ° λ§μ§μμ΅λλ€\\r\\nλΉλ°λ²νΈ μ
λ ₯μ€λ₯ νμ : (2 / 5)"
}