2.0.1 • Published 4 years ago

twttr v2.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

twttr

Minimal Twitter API client

Based on the twine sample created in the Building Command Line Applications in Node.js Pluralsight course.

Usage

Install with npm install --save twttr then:

const { TwitterClient } = require('twttr')

const t = new TwitterClient({
  consumerKey: 'abc123',
  consumerSecret: 'abc123',
  accessToken: 'abc123',
  accessTokenSecret: 'abc123'
})

t.get('1.1/account_activity/all/webhooks.json')
  .then(results => console.log(JSON.stringify(results.data,null,4)))
  .catch(error => console.log(error))
2.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago

0.0.1-security

8 years ago

0.0.2

10 years ago

0.0.1

10 years ago