News & Articles

PyroEDU
Get started learning to build your own electronics by following our FREE online courses below!
Learn More »

Categories

Sponsors

Build Like A Pyro!
Find many of the parts used on this site at our favorite online electronics shop
Take Me To The Gadgetory!
TwitterMatrix: Tweets as a Color Source

Posted April 16, 2013 by Chris

“I found a nice article on using the twitter search API in python and used it as a base for my script. Here’s what it does: first, it searches for the string ‘my favorite color’ and in practice finds around .1-5 tweets a minute…the script simply cleans up the tweet, removes any strange character like ‘#’ and compares every word of the tweet with my lookup table. The first color string in the tweet wins.”

Leave a Reply