1.0.7 • Published 5 years ago

inha-timetable v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

INHA_TIMETABLE

설치

npm install --save inha-timetable

사용

const { getTimeTable, getDeptCode } = require('inha-timetable')

getTimeTable(getDeptCode('정보통신공학과'), '교양필수', true, 'result.json')
.then(r=>{
  console.log(r)
})
.catch(e=>{
  console.log(e)
})

getTimeTable(dept, type, isDebug, outputFile) ⇒ Array

시간표를 인하대학교 수강신청에서 가져옵니다.

Returns: Array - 시간표 배열을 반환합니다.

ParamTypeDefaultDescription
deptstring학과 코드
typestring"전공"전공,영어,핵심교양,교양필수,일반교양
isDebugbooleantrue중간 과정 로그를 출력여부
outputFilestring파일에 저장할 시 파일 이름
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago