A rough and ready script to aggregate some stats from Twitter's Streaming API
CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
analyse.coffee
server.coffee
shared.coffee

README.md

tstats

A quick and simple node.js script which connects to Twitter's "Sample" streaming API and records a few statistics of interest, namely:

  • favourites count
  • followers count
  • friends count

Every 30 seconds it writes out the 95th percentile for each of these stats.