Provide artisan commands for core module to import course data to database from National Chung Cheng University.
0.0.1 (2019/01/08)
import course data to database, showing imported courses number when command executed successfully
field | type | required | multiple | default | example | remark |
---|---|---|---|---|---|---|
semester | string | - | ✓ | current semester | 1071 | semesters that will be imported to database |
option | remark |
---|---|
--force | import course data even if the semester was already imported |
--dry-run | output course data which will be imported instead of importing it |
UnexpectedValueException
- invalid semester value or semester is not existRuntimeException
- network error or target website is not available