This sample gets the weather for three cities, using different time intervals and repeat counts.
To use this weather forecast sample, you will have to sign up for a free subscription to one of the weather services at OpenWeatherMap (for example, Current Weather Data or 5-Day Forecast) and get an API key (APPID), which must be substituted (replace placeholder <YOUR_APP_TOKEN>) in the URL line of streams configuration file tnt-data-source.xml.
It may take up to one hour after registering, to receive your APPID.
You can also change the three city names in the configuration file.
The API documentation on OpenWeatherMap describes the format of the URL lines.