Skip to content

ashwinks/Google-Weather-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

It seems Google has discontinued their Weather API - sad day.

$w = new googleWeather();
$w->enable_cache = 1;
$w->cache_path = '/var/www/mysite.com/cache';

$ar_data = $w->get_weather_data(10027);

print_r($ar_data);

echo $ar_data['forecast'][0]['day_of_week'];

About

Google Weather API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages