API for forecastio with sample