0.0.6 • Published 10 years ago

owlin-connect v0.0.6

Weekly downloads
33
License
-
Repository
github
Last release
10 years ago

Owlin Connector

Installing

You can install the Owlin NodeJS API Connector with the Node Package Manger.

npm install owlin-connect

Usage example

The followling code example will retrieve a list of articles matching an apple search. For other API calls, checkout the Owlin API docs.

const owlin = require('owlin-connect');

var owl = new owlin({
    email       : "richard@owlin.com",
    password    : "redacted"
});

owl.request({
    method : "get_articles",
    value : "filter:oxhgxsgqqdh0xnrciogb0xfwvafahqsc",
    args : {
        hits : 50,
        range : {
            epoch : { from : (new Date()/1000)-86400 }
        }
    }
}, function(err, data){
    console.log("got data from request method:");
    console.log(data);
})
0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago