ktis_parser default information parser
Project description
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)"
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ktis-parser-0.2.4.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for ktis_parser-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 367739d7ce85871cb3caa1d5da70899f6f6b67aa8746016f4841b2c85e4d69e7 |
|
MD5 | c12bfb26aa53e2f299ec43d8a42db4ff |
|
BLAKE2b-256 | 1510c726e6777a2d3b0444922049739822ad3f455e0912262c0c06cd0653d0a8 |