NCKUpp
                                
                                 NCKUpp copied to clipboard
                                
                                    NCKUpp copied to clipboard
                            
                            
                            
                        更優質的選課網站 | A new site for NCKU course enrollment
 NCKU++
 NCKU++
更優質的選課網站
A new site for NCKU course enrollment
To NCKU++
API Documentation
API endpoint
https://api.simon.chummydns.com/api
Response Object
{
    "success": boolean
    "data": {}|null
    "msg": string
    "code": int
    "err": [string]
    "warn": [string]
}
GET /search Search course data
Parameters
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} 
Example
/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
Parameters
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
Parameters
name type data type description moderequire string Login mode, legal value: course, stuId 
course: Course NCKU
stuId: StudentIdentification
POST /login Login
Parameters
name type data type description moderequire string Login mode, legal value: course, stuId 
course: Course NCKU
stuId: StudentIdentification
Payload
Content-Type: application/x-www-form-urlencoded
username=[Account]&password=[Password]
GET /courseSchedule Get course schedule
Parameters
name type data type description preoptional boolean If pre equals true, return pre-schedule