
內容簡介
透過這個 WordPress 外掛,您可以透過簡碼來顯示在瑞典特定車站即將到站或離站的火車清單。
您必須在 Trafiklab 註冊帳戶並創建一個應用程式,使用 Trafikverkets Open API 以使用 TuffTuffTime。然後您應該能夠創建可與此外掛一起使用的 API 金鑰。
車站名稱的拼寫必須與 API 中完全相同。在外掛設定頁面上有所有車站的清單。
範例簡碼: [tufftufftime station="Stockholm Central" limit="5" type="arriving"]
外掛標籤
開發者團隊
原文外掛簡介
With this WordPress plugin you can display, via a shortcode, a list of arriving/departing trains at a given station in Sweden.
You have to register an account at Trafiklab and create an application that uses Trafikverkets Open API to use TuffTuffTime. You should then be able to create an API-key that can be used with this plugin.
The spelling of the station name must be exactly the same as in the API. There is a list of all stations on the plugin settings page.
Example of the shortcode: [tufftufftime station="Stockholm Central" limit="5" type="arriving"]
