Skip to content

capelio/gnipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Node.JS Gnip client

Resources

License

Stars

Watchers

Forks

Packages

No packages published