Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.



node v4.9.1
version: 5.0.0
forecastCities is an asynchronous function (defined below) that will return the three day forecast of the cities passed in. Use the object viewer pop up to select "Chart" and compare them:
var Promise = require("bluebird"); var R = require("ramda"); await forecastCities("New York", "San Francisco");
async function forecastCities() { var forecast = require("notebook")("tonic/forecast/2.0.0"); var promises = R.map(forecast.threeDay, arguments); return R.zipObj(arguments, await Promise.map(promises, R.identity)); }

1 comment

  • posted 4 years ago by 590f8da190d6f1001137d8f1
    I don't see any forecast

sign in to comment