Show the inter city bus estimated time of arrival near my home.
Use native javascript fetch to get json data from Google Apps Script, and show different time unit depend on the seconds.
Demo Page: 八德惠爾德公車資訊
Data sourece: PTX (Public Transport Data eXchange)
Test PTX API online from here.
Other language sample code: https://github.com/ptxmotc/Sample-code