Skip to main content

ktis 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


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.2.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ktis_parser-0.2.2-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file ktis-parser-0.2.2.tar.gz.

File metadata

  • Download URL: ktis-parser-0.2.2.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for ktis-parser-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f0a7dc8f64f131e1afcd82f3531fbaee2930258122cbca03c926c1e52573b178
MD5 69f75d8848cfdfce092f4777016d3e9d
BLAKE2b-256 6317fb4c69f3056cf64836f37ebeb9e04343b227205ef6b08b13d69a31c0decb

See more details on using hashes here.

File details

Details for the file ktis_parser-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: ktis_parser-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.4

File hashes

Hashes for ktis_parser-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8de5de917ed5657eb7862b96f6d1b108f211ee7e5655460a95278884e67ec7e
MD5 1f04fe7f3264b9fe000dee430919e02c
BLAKE2b-256 56aa994826f79146c24544f8652f22b5b879ee8dea5e170b9f5868d364525e28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page