# Simple Forecast

_This example gets a 5 day forecast for your location and prints out
some values from each timestep for each day._

### Required Modules
 * [datapoint](https://github.com/perseudonymous/datapoint-python)

## Learning Objective

Explore the day and timestep objects and loop through them.

## Example Usage

```Shell
python simple_forecast.py
```

## Example Output

```
London

2014-10-18Z
180
Partly cloudy (night)
17°C
360
Cloudy
18°C
540
Light rain shower (day)
18°C
720
Light rain
18°C
900
Cloudy
19°C
1080
Cloudy
18°C
1260
Cloudy
18°C

2014-10-19Z
0
Cloudy
18°C
180
Light rain
17°C
360
Heavy rain
17°C
540
Cloudy
17°C
720
Cloudy
18°C
900
Partly cloudy (day)
18°C
1080
Partly cloudy (night)
17°C
1260
Overcast
15°C

2014-10-20Z
0
Overcast
14°C
180
Light rain shower (night)
14°C
360
Partly cloudy (night)
13°C
540
Partly cloudy (day)
13°C
720
Cloudy
15°C
900
Cloudy
15°C
1080
Cloudy
14°C
1260
Cloudy
13°C

2014-10-21Z
0
Cloudy
13°C
180
Light rain shower (night)
13°C
360
Light rain shower (night)
14°C
540
Light rain shower (day)
13°C
720
Light rain shower (day)
13°C
900
Sunny day
13°C
1080
Clear night
12°C
1260
Partly cloudy (night)
10°C

2014-10-22Z
0
Clear night
10°C
180
Clear night
9°C
360
Partly cloudy (night)
9°C
540
Cloudy
10°C
720
Cloudy
13°C
900
Cloudy
15°C
1080
Overcast
14°C
1260
Overcast
13°C
```
