How to use a dictionary with python requests. - Outdated book. wunderground weather api
<p>I purchase the make projects book for the raspberry pi and one of the scripts is using wundergrund api and then printing the results of stuff such as temp ect.</p>

<p>The code has changed and I have tried tweaking the variables but always get an key error :/</p>

<p>Here is a <a href="http://pastebin.com/NzQL0UXK" rel="nofollow">sample api</a></p>

<p>In the book he provides the code in python but it is using the old api code..
See Pictures</p>

<p><a href="http://imgur.com/n4kpsxo,DtYoQhJ" rel="nofollow">http://imgur.com/n4kpsxo,DtYoQhJ</a></p>
