google temperature information

3.4k Views Asked by At

Google has a weather box whenever you search for weather or temperature which gives info about your town and the temperature, wind and other there. Is there a way to get that data into a json variable ?

1

There are 1 best solutions below

0
Heshitha Hettihewa On

Google doesnt have an JSON api for their weather service.I prefer using openweather api which gives you a simple and easy to use json interface.Or you can create the json objects yourself if you prefer doing it in the harder way.here is an example on how to use google map weather layer.