This example checks the forecast for your current location to see if it is going to rain at any stage today. If so it will suggest that you take an umbrella.
Make a simple decision based on the data provided by DataPoint.
python umbrella.pyLondon
Looks like rain! Better take an umbrella.