Is your feature request related to a problem? Please describe.
Unfortunately, we cannot guarantee NTHUSA-API's uptime and availability, thus, we have to design our own fallback to prevent downtime in our system.
Describe the solution you'd like
Github Action should sync periodically, fetch data from API, and if successful, update the files.
Describe alternatives you've considered
Maybe NTHUSA should also prioritize availability and caching of its data.
Is your feature request related to a problem? Please describe. Unfortunately, we cannot guarantee NTHUSA-API's uptime and availability, thus, we have to design our own fallback to prevent downtime in our system.
Describe the solution you'd like Github Action should sync periodically, fetch data from API, and if successful, update the files.
Describe alternatives you've considered Maybe NTHUSA should also prioritize availability and caching of its data.
Additional context Quick Patch: https://github.com/nthumodifications/courseweb/commit/ec057ac31dcb036b5bc4d02b35f135342cbf378d Origin: https://github.com/NTHU-SA/NTHU-Data-API/issues/99
🫠 unfortunately no one will ever know the downtime of buses and the sacrifice of my sleep