wrapper for the forecast.io API