Skip to content
OAuth + Streams
CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
test
.gitignore
.npmignore
LICENSE
README.md
package.json

README.md

OAUTH STREAM

I wanted to have a stream from oauth so I wrote this simple wrapper.

Usage

npm install oauthstream

var oauthStream = require('oauthstream');

// Your credentials here
var credentials = {
  consumer_key: '',
  consumer_secret: '',
  access_token: '',
  access_secret: '',
};

oauthStream.setCredentials(credentials);

var url = 'https://website.to/hit';

oauthStream.get(url).pipe(process.stdout);
Something went wrong with that request. Please try again.