Skip to content

Support openweathermap.org #42

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions