rayer / busdigitalmonitor Goto Github PK
View Code? Open in Web Editor NEWWhen arrived a bus stop without digital arriving time monitor, it can help user to display bus status in iPhone or Apple Watch
When arrived a bus stop without digital arriving time monitor, it can help user to display bus status in iPhone or Apple Watch
http://ptx.transportdata.tw/PTX requires it before we can start fetching data.
GET /v2/Bus/Stop/City/{City}
取得指定[縣市]的市區公車站牌資料
Implementation Notes
市區公車之站牌資料
Response Class (Status 200)
OK
ModelExample Value
Inline Model [
BusStop
]
BusStop {
StopUID (string): 站牌唯一識別代碼,規則為 {業管機關代碼} + {StopID},其中 {業管機關代碼} 可於Authority API中的AuthorityCode欄位查詢 ,
StopID (string): 地區既用中之站牌代碼(為原資料內碼) ,
AuthorityID (string): 業管單位代碼 ,
StopName (NameType): 站牌名稱 ,
StopPosition (PointType): 站牌位置 ,
StopAddress (string, optional): 站牌地址 ,
Bearing (string, optional): 方位角,E:東行;W:西行;S:南行;N:北行;SE:東南行;NE:東北行;SW:西南行;NW:西北行 ,
StationID (string, optional): 站牌所屬的站位ID ,
StopDescription (string, optional): 站牌詳細說明描述 ,
City (string, optional): 站牌權管所屬縣市(相當於市區公車API的City參數)[若為公路/國道客運路線則為空值] ,
CityCode (string, optional): 站牌權管所屬縣市之代碼(國際ISO 3166-2 三碼城市代碼)[若為公路/國道客運路線則為空值] ,
LocationCityCode (string, optional): 站牌位置縣市之代碼(國際ISO 3166-2 三碼城市代碼)[若為公路/國道客運路線則為空值] ,
UpdateTime (DateTime): 資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz) ,
VersionID (integer): 資料版本編號
}
NameType {
Zh_tw (string, optional): 中文繁體名稱 ,
En (string, optional): 英文名稱
}
PointType {
PositionLat (number, optional): 位置緯度(WGS84) ,
PositionLon (number, optional): 位置經度(WGS84)
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.