Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

basic-twitter-client

0.0.2 • Public • Published

basic-twitter-client

Build Status Coverage Status

install

npm install basic-twitter-client --save

usage

var Twitter = require('basic-twitter-client');

var twitterClient = new Twitter({
    'consumer_key': process.env.TWITTER_CONSUMER_KEY,
    'consumer_secret': process.env.TWITTER_CONSUMER_SECRET
});

twitterClient.tweetsByUser('username', 6).then(function(tweets) {
        console.log(tweets);
});

twitterClient.tweetsByHashtag('hashtag', 5).then(function(tweets) {
        console.log(tweets);
});

Keywords

install

npm i basic-twitter-client

Downloadsweekly downloads

2

version

0.0.2

license

ISC

last publish

collaborators

  • avatar
Report a vulnerability