This is an experiment with Node.js, Twitter, Sphero and the Alchemy API. The idea was to get a general "vibe" of current tweets and represent that using a Sphero.
- Pull tweets from the twitter streaming API
- Pass them to the Alchemy API to get the sentiment of the tweet
- Adjust the Sphero color accordingly
- Alchemy API - http://www.alchemyapi.com/
- Sphero - http://www.gosphero.com/
It should look like this
module.exports = {
twitter : {
consumerKey : 'your consumer key',
consumerSecret : 'your consumer secret',
accessTokenKey : 'your access token key',
accessTokenSecret : 'your access token secret'
},
alchemy : {
apiKey : 'your api key'
}
}The following command will watch and compile the Coffeescript.
- run
cake dev
