jsolis / hubot-forecastio Goto Github PK
View Code? Open in Web Editor NEWA Hubot Script that looks up weather forcast data from forcast.io with geocoding courtesy of Google Maps
A Hubot Script that looks up weather forcast data from forcast.io with geocoding courtesy of Google Maps
I am getting the following error running the bot on heroku
2015-11-26T17:42:04.286042+00:00 app[web.1]: [Thu Nov 26 2015 17:42:04 GMT+0000 (UTC)] ERROR TypeError: Cannot read property 'formatted_address' of undefined
2015-11-26T17:42:04.286046+00:00 app[web.1]: at /app/node_modules/hubot-forecastio/src/forecastio.coffee:25:7, <js>:18:55
2015-11-26T17:42:04.286048+00:00 app[web.1]: at IncomingMessage.<anonymous> (/app/node_modules/hubot/node_modules/scoped-http-client/src/index.js:95:22)
2015-11-26T17:42:04.286049+00:00 app[web.1]: at IncomingMessage.emit (events.js:117:20)
2015-11-26T17:42:04.286050+00:00 app[web.1]: at _stream_readable.js:944:16
2015-11-26T17:42:04.286051+00:00 app[web.1]: at process._tickCallback (node.js:448:13)
I am running e.g. "weather in cancun" and accessing
http://maps.googleapis.com/maps/api/geocode/json?address=cancun&sensor=false
actually works fine. Any idea what could be wrong?
hubot-forecastio is almost perfect, but it would be great if I could optionally use celsius.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.