How can I use the Google Weather API? -


i want make app using google weather api, don't have knowledge it.

how use api? explain step step how include in project?

this broad answer should better check tutorial or documentation present online.

edit :

your script can this:

import  pywapi import string  weather_com_result = pywapi.get_weather_from_weather_com('10001') yahoo_result = pywapi.get_weather_from_yahoo('10001') noaa_result = pywapi.get_weather_from_noaa('kjfk')  print "weather.com says: " + string.lower(weather_com_result['current_conditions']['text']) + " , " + weather_com_result['current_conditions']['temperature'] + "c in new york.\n\n"  print "yahoo says: " + string.lower(yahoo_result['condition']['text']) + " , " + yahoo_result['condition']['temp'] + "c in new york.\n\n"  print "noaa says: " + string.lower(noaa_result['weather']) + " , " + noaa_result['temp_c'] + "c in new york.\n" 

the output of can :

weather.com says: overcast , 15c in new york.

yahoo says: fog , 14c in new york.

noaa says: overcast , 15c in new york.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -