// Get current weather information for New York City.
var nyWeather = getWeatherForLocation("New York City, US");
// Get the weather forecast for the next week in Toronto.
var torontoWeather = getWeatherForecastForLocation("Toronto, CA");