gnipper

Node.JS Gnip client

npm install gnipper
2 downloads in the last day
16 downloads in the last week
23 downloads in the last month

Gnipper

Node.JS Gnip client

Example

var Gnipper = require('gnipper');

var gnip = new Gnipper({
  account: 'Account',
  username: 'Username',
  password: 'Password'
});

gnip.search({
  publisher: 'twitter',
  query: 'gnip has:media',
  fromDate: YYYYMMDDhhmm,    // optional
  toDate: YYYYMMDDhhmm,      // optional
  maxResults: 10..500,       // optional
  label: 'prod'              // optional, defaults to prod
}, function(error, data) {
  if (error) {
    ...
  }
  return data;
});

Installation

npm install gnipper

Roadmap

1.x

  • [ ] Query validation (per-publisher operator whitelist, etc)
  • [ ] gnip.estimate()

2.x

  • [ ] Convert to streams for { allPages: true } search option
  • [ ] gnip.stream()

License

MIT

npm loves you