nthumodifications / courseweb

🏫 National Tsing Hua University Course Selection for students by students
https://nthumods.com
GNU General Public License v3.0
58 stars 12 forks source link

Fetching first party data from NTHUSA API #69

Closed ImJustChew closed 4 months ago

ImJustChew commented 10 months ago

NTHUSA has official API for related data, we should move bus schedules to fetch data from their API instead of needing me to maintain it. https://api.nthusa.tw/docs

There are a lot of new API's that we can get data from depending on our needs. But we have to consider how the UI should look like before proceeding with whatever NTHUSTU app already has.

ImJustChew commented 10 months ago

Can start adding NTHUSA features once #83 is merged

ImJustChew commented 10 months ago

https://api.nthusa.tw/docs#/Buses/get_stop_up_buses_stops__stop_name___bus_type___day___direction__get

We can directly fetch all site data from NTHUSA API for busses once https://github.com/NTHU-SA/NTHU-Data-API/issues/32 is fixed

ImJustChew commented 8 months ago

tracking https://github.com/NTHU-SA/NTHU-Data-API/issues/78