Thanks for stopping by.
/lib/next-ferry - library to get back ferry data. Ferry API
/lib/pages - Simple pages
/lib/simplehtmldom - PHP Simple HTML DOM Parser
to:
from:
map_url:
next_ferry: timestamp
next_sailings: [timestamp]
current_capacity: %
has_current_capacity: available (bool)
http://bowen.today/api/v1/ferry/vancouver-bowen \ http://bowen.today/api/v1/ferry/bowen-vancouver
You can also pass in a specific future date to get the schedule from the future. \ http://bowen.today/api/v1/ferry/bowen-vancouver/2021-02-22
To start the server for local development
cd public
php -S localhost:8000
cmd+c to terminate
Then visit
The watch flag tells Sass to watch style.scss, and re-compile CSS each time you save your Sass.
Open this in a separete terminal window.
cd public
sass --watch style.scss style.css
./ferry/index.php
Rename secrets.example.php to secrets.php
cp secrets.example.php secrets.php