You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

node-seen

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-seen

An API wrapper around the Seen API

1.0.4
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
2
Weekly downloads
 
Created
Source

Seen API Wrapper

node-seen is a wrapper around the Seen API. Currently, the Access to the API is rescricted to white-listed IPs.

Installation

Run the following command in your apps directory: $ npm install node-seen --save

Usage

Require the seen api module in your app

var seen = require('node-seen');

Once the module is included, Api endpoints can be called in the following fashion:

var campaign = new seen.Campaign('1234');
campaign.on('campaign', function (campaign) {
  console.log(campaign);
});

The data returned from the endpoints event emitter will be a parsed JSON Object, ready to be consumed;

Endpoints included

Currently, the wrapper includes a wrapper around the following endpoints and will return a parsed JSON object:

  • Campaign, will retrieve a campaign and it's associated data;
  • Entries, will retrieve a campaigns entries, including instagram and twitter posting data
  • Entry, will retrieve a single entry

This module is a heavy a WIP, more endpoint wrappers will be added frequently. Please stay tuned.

Keywords

seen-api

FAQs

Package last updated on 05 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts