1.0.4 • Published 8 years ago

node-seen v1.0.4

Weekly downloads
2
License
BSD-2-Clause
Repository
-
Last release
8 years ago

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.

1.0.4

8 years ago

1.0.3

8 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago