In this resource you’re going to write a program that will allow a user to type in a city they’re travelling to, and the date they’ll be arriving. The program will then use open data from OpenWeatherMap to find out what the weather is like in that city at that time, and advise the user on what they should wear when they arrive.
WHAT YOU WILL LEARN
By creating the Dress for the Weather project you will learn:
How weather data can be stored in text files
How to manipulate JSON files and objects
How to use Python to access open data APIs
How to manipulate dictionaries in Python
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!