Home

Awesome

pywwo

Python wrapper library for World Weather Online API using lxml.objectify

How to use

from pywwo import *
setKey('<your_key>', 'free')
w=LocalWeather('london')
w.data.current_condition.temp_C
w=LocalWeather('sdfasdgasdga')

Unable to find any matching weather location to the query submitted!

For more test cases, see test run inside the script

python pywwo.py

see test result inside the script.

Feature

  1. lxml.objectifiy
  2. error checking