alaingilbert/Turntable-API — Issue #24: Pipe results of get request to bot.speak?
Author: ehedaya
Created: 2012-01-23 22:08:40+00:00
State: open

I apologize in advance if this too elementary a questino, but as a student of js, I was pulling my hair out about this all weekend. I want to take the JSON returned by a get request and pipe one of the returned lines to bot.speak, but I'm having a really hard time wiring it up. I installed the request module, and I think it's returning data, but the best I can do is to get the bot to speak "[object Object]".

Can a kind soul help me out?