This plugin displays coming sailings for the BC Ferries Fleet.
It draws upon the API from the BC Ferries API: the only public API for retrieving current data on BC Ferries sailings. Used in Pratt’s app, BC Ferry Times, an iOS app to get the latest ferry schedule and sailing capacities.
It uses references to the terminals:
“TSA” -> Tsawwassen
“SWB” -> Swartz Bay
“SGI” -> Southern Gulf Islands
“DUK” -> Duke Point (Nanaimo)
“FUL” -> Fulford Harbour (Salt Spring Island)
“HSB” -> Horseshoe Bay
“NAN” -> Departure Bay (Nanaimo)
“LNG” -> Langford
“BOW” -> Bowen Island
The shortcode works like this:
[sdch_bcferries] adding in depature= argument limits the terminaladding in destination= argument as well limits the terminal, so that only sailing from one terminal to another will be shown.
To take the edge off of the server requests to the API, the plugin will cache the data for 30 minutes before it fetches another data set from the API.