Simple meteor wrapper for node-yql
(Yahoo Query Language), only for server side. This package exposes the YQL
object which is used for createing queries to Yahoo servers.
Just add the khrone:yql-wrapper package to your meteor project.
Get current weather and forecast for Poznań, Poland
:
let query = new YQL(`select * from weather.forecast where woeid in (select woeid from geo.places(1) where text="Poznań, Poland") and u='c'`);
query.exec((error, data) => {
console.log(data);
});