-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Please support openweathermap.org
Python 2
import ast
import urllib2
weather =
ast.literal_eval(urllib2.urlopen('http://api.openweathermap.org/data/2.5/weather
?q=Paris,fr&units=metric').read())
Python 3
import ast
import urllib.request
weather =
ast.literal_eval(urllib.request.urllopen('http://api.openweathermap.org/data/2.5
/weather?q=Paris,fr&units=metric').read())
For all services to support, see http://openweathermap.org/api
Original issue reported on code.google.com by pander.m...@gmail.com on 15 Dec 2014 at 1:00
Reactions are currently unavailable