diff --git a/www/plugins/jasonwilliams/calgaryconditions/components/CurrentInfo.php b/www/plugins/jasonwilliams/calgaryconditions/components/CurrentInfo.php index 4412b82..a89e0c4 100644 --- a/www/plugins/jasonwilliams/calgaryconditions/components/CurrentInfo.php +++ b/www/plugins/jasonwilliams/calgaryconditions/components/CurrentInfo.php @@ -1,15 +1,13 @@ weatherstack_api_key.'&query=Calgary')); + return json_decode(Http::get('http://api.weatherstack.com/current?access_key='.Settings::get('weatherstack_api_key').'&query=Calgary')); }); date_default_timezone_set('America/Edmonton');