0.0.6 • Published 10 years ago

tweets v0.0.6

Weekly downloads
4
License
-
Repository
github
Last release
10 years ago

NOT WORKING YET

Tweets

This is a library for accessing the public twitter streaming api. Key features are:

  • persistant connection (will re-connect in the background)
  • mutable parameters
  • it only has three features

Usage

var tweets = require('tweets');

var stream = new tweets({
  config: 'stuff',
  goes: 'here'
});

// start streaming the public twitter stream for pizza
stream.filter({track: 'pizza'});

stream.on('tweet', function(t){
  console.log("Got a tweet!", t);
});

setTimeout(function(){
  // after ten minutes, start looking for beer
  stream.filter({track: 'beer'});

},1000*60*10)

Why

There are tonnes of twitter clients out there with more features.

Licence

MIT

0.0.6

10 years ago

0.0.5

10 years ago

0.0.3

10 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago