nthumodifications / courseweb

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

新竹公車/客運時刻表 City Bus / Intercity Bus Timetable #306

Open waltsai2483 opened 2 months ago

waltsai2483 commented 2 months ago

Because in my prev flutter project (similar to nthumods) I have made a bus timetable system including city bus and intercity bus, no need to worry about the backend. Need 3rd-party api support from the government though. Here's link: https://github.com/waltsai2483/aip

ImJustChew commented 2 months ago

Currently, we are revamping the bus page at #279 , and adding intercity busses is a great idea, and maybe also 台聯大公車. Are you available to help us build the parts for non-school busses on that branch?

Keep in mind the current iteration of the UI is available on the UI/UX discord channel

waltsai2483 commented 2 months ago

@ImJustChew Sure, but only when I have time.

waltsai2483 commented 2 months ago

@ImJustChew btw because I have to register and create API keys on the website before accessing it, should I use my personal account, or there's an official account for this project?

Here's the link: https://tdx.transportdata.tw/register

also, api access rate for free is at most 50/sec. so I guess there's no need to use paid-up membership.

ImJustChew commented 2 months ago

Use your personal token for local development, we'll use the official account's API key for production.

On Sat, May 4, 2024 at 2:13 PM waltsai @.***> wrote:

@ImJustChew https://github.com/ImJustChew btw because I have to register and create API keys on the website before accessing it, should I use my personal account, or there's an official account for this project?

Here's the link: https://tdx.transportdata.tw/register

also, api access rate for free is at most 50/sec. so I guess there's no need to use paid-up membership.

— Reply to this email directly, view it on GitHub https://github.com/nthumodifications/courseweb/issues/306#issuecomment-2094043242, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDPMFYND6QRA3L3ZAVIZQLZAR36ZAVCNFSM6AAAAABHGMEAZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGA2DGMRUGI . You are receiving this because you were mentioned.Message ID: @.***>

waltsai2483 commented 1 month ago

@ImJustChew Since they changed their pricing from 50/s (pre-launch) to 5/min per token (3 tokens max) for free member, it's nearly impossible to make it work based on its free access rate. If we r going to add this feature, we have to either use additional server to store all these datas and update every minute to maximate the performance or just pay them ntd$100 per month for 5/s speed.

ImJustChew commented 1 month ago

That is too expensive 🤣 or can we get scrape from other sites

waltsai2483 commented 1 month ago

That is too expensive 🤣 or can we get scrape from other sites

There're some alternatives for scraping: https://yunbus.tw/#!main so maybe I'll do some research after final exam.