Simple private API to get current weather information at a lon/lat position from Environment Canada (EC).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

14 lines
230 B

<?php
// Example config
// Requires postgres with postgis extension
$config = [
'dbUser' => 'weather',
'dbPassword' => 'weather',
'dbSocket' => '/run/postgresql/.s.PGSQL.5432',
'dbName' => 'weather',
'secret' => 'xxx'
];