-
基本查詢 http://ptx.transportdata.tw/MOTC/Rail/TRA/Station?$format={format}
{format}為資料格式:json、xml、csv
範例:火車車站基本資料http://ptx.transportdata.tw/MOTC/Rail/TRA/Station?$format=xml
-
進階查詢
{dataId}:資料代號
{format}:資料格式
{top}:取最前筆數
{skip}:跳過筆數
{orderby}:排序欄位
範例:火車車站資本資料
ps:其中StationID為資料欄位名稱
-
ODATA服務開發實作請詳見連結。
Created
January 4, 2018 08:56
-
-
Save ptxmotc/bed5e1e48274c1147c7bf01eeb1ea04c to your computer and use it in GitHub Desktop.
支援ODATA查詢語法.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment