Skip to main content

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


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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ktis-parser-0.3.1.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.3.1.tar.gz
Algorithm Hash digest
SHA256 48fd70784cf83e5d242a5c18250cc8c343b1a8f30932a7b4901e34c4adfea3f9
MD5 759a2143a30c29de58932455d74e0aec
BLAKE2b-256 faf22a788eb829e335f361806d41bd042b128986899c883ac325476d4c296506

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ktis_parser-0.3.1-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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 85504d7f7b1aaab706cb6f9be69ee1c5effe8354065af8b7d7710f4b2f6ae7c1
MD5 e424089bc0b4e5962ad86cf5faebeb6d
BLAKE2b-256 b2d326addd13686833e921826ed8bc08a8dd544f5a1fccd966324d27630684a4

See more details on using hashes here.

Supported by

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