devfacet/weather

Returning empty results

phouthasak opened this issue · 0 comments

Getting an empty array as a response. Is this because they have finally shut it down for good? I know Microsoft have made an announcement to discontinue weather.service.msn.com services back in April of 2016. But I have been using this module for Jan. 2017. Here is snippet of my code:

app.get('/weather', function(req, res) {
var zipCode = "43606";
var type = "F";

if((zipCode !== null) && (type !== null)){
	weather.find({search: zipCode, degreeType: type}, function(err, result) {
		if(err) console.log(err);
		res.send(JSON.stringify(result, null, 2));
	});
}

});

https://support.microsoft.com/en-us/help/3210143/msn-weather-service-api-has-been-retired