This package has been deprecated

Author message:

No longer maintained

node-topsy

1.1.0 • Public • Published

Description

node-topsy is a node.js module for interacting with the Topsy API.

Examples

var Topsy = require('../lib/Topsy');

var topsy = new Topsy('API_KEY');

topsy.getAuthorInfo({"url": "http://twitter.com/barackobama"}, function(error, result) {
    console.log(result);
});

topsy.getExperts({"q": "nosql"}, function(error, result) {
    console.log(result);
});

topsy.getLinkPosts({"url": "http://twitter.com/barackobama"}, function(error, result) {
    console.log(result);
});

topsy.getLinkPostCount({"url": "http://twitter.com/topsy"}, function(error, result) {
    console.log(result);
});

topsy.getPopularTrackbacks({"url": "http://www.google.com"}, function(error, result) {
    console.log(result);
});

topsy.getSearch({"q": "Barack Obama"}, function(error, result) {
    console.log(result);
});

topsy.getSearchCount({"q": "Barack Obama"}, function(error, result) {
    console.log(result);
});

topsy.getSearchHistogram({"q": "kindle"}, function(error, result) {
    console.log(result);
});

topsy.getSearchDate({"q": "Barack Obama"}, function(error, result) {
    console.log(result);
});

topsy.getStats({"url": "http://topsy.com"}, function(error, result) {
    console.log(result);
});

topsy.getTags({"url": "http://twitter.com"}, function(error, result) {
    console.log(result);
});

topsy.getTop({"thresh": "top100"}, function(error, result) {
    console.log(result);
});

topsy.getTrackbacks({"url": "http://topsy.com"}, function(error, result) {
    console.log(result);
});

topsy.getTrending({}, function(error, result) {
    console.log(result);
});

topsy.getUrlInfo({"url": "http://twitter.com"}, function(error, result) {
    console.log(result);
});

Readme

Keywords

Package Sidebar

Install

npm i node-topsy

Weekly Downloads

0

Version

1.1.0

License

none

Last publish

Collaborators

  • istrategylabs