2.0.2 • Published 9 years ago

get-twitter-info v2.0.2

Weekly downloads
62
License
MIT
Repository
github
Last release
9 years ago

get-twitter-info

NPM version Build Status Coveralls Status Dependency Status

get info about target username

Install

npm install --save get-twitter-info

Usage

import getTwitterInfo from 'get-twitter-info';

getTwitterInfo(tokens, 'jsunderhood').then(info => {
  console.log(info);
});

API

getTwitterInfo(tokens, username)

Return a promise that resolves to user info.

tokens

Required
Type: Object

Valid Twitter developer credentials (tokens) in the form of a set of consumer and access tokens/keys. You can use twitter-tokens, to simplify getting tokens.

username

Required
Type: String

Twitter username.

Related

License

MIT © Vladimir Starkov

2.0.2

9 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago