更優質的選課網站
A new site for NCKU course enrollment
API endpoint
https://api.simon.chummydns.com/api
{
"success": boolean
"data": {}|null
"msg": string
"code": int
"err": [string]
"warn": [string]
}
GET /search Search course data
name type data type description courseNameoptional string Course name instructoroptional string Instructor name dayOfWeekoptional int[] Day of week [0~6] deptoptional string Department ID gradeoptional string Course for grade sectionoptional int[] Section of day [0~15] serialoptional UrlEncode Serial IDs {DEPT_ID}={SERIAL},{SERIAL}&{DEPT_ID}={SERIAL}
/search?dept=A9
/search?dayOfWeek=0,1§ion=3,4
[!WARNING]
Multiple dayOfWeek will make response time longer and likely to cause network error
GET /alldept Get all department ID
GET /nckuhub Get NCKU HUB data
name type data type description idoptional string Course serial ID
Give id and return NCKU HUB rating and comments
If no id provide, return available CourseSerialID
GET /login Check login state
name type data type description moderequire string Login mode, legal value: course, stuId
course: Course NCKU
stuId: StudentIdentification
POST /login Login
name type data type description moderequire string Login mode, legal value: course, stuId
course: Course NCKU
stuId: StudentIdentification
Content-Type: application/x-www-form-urlencoded
username=[Account]&password=[Password]
GET /courseSchedule Get course schedule
name type data type description preoptional boolean If pre equals true, return pre-schedule