1.0.3 • Published 9 years ago

parsely v1.0.3

Weekly downloads
10
License
MIT
Repository
github
Last release
9 years ago

build status

node-parsely

A javascript client for the Parse.ly APIs.

Installation

npm install parsely

Documentation

This is a very light wrapper around the parsely.com API, providing the same options as the API docs there. The wiki has a full set of API docs, where you can see what method corresponds to which API, and a list of the parameters they take.

Tracking Events

var parsely = require('parsley');

var trackingData = {
  idsite: 'parselyid',
  date: (new Date()),
  data: {
    parsely_site_uuid: 'unique id for client'
  }
};

parsely.track(trackingData, 'Mozilla/6.0', function(err){
  if(err){
    console.log(err);
  }
});

Analytics

parsely.analytics.byType('query', 'posts', {days: 1}, {sharedSecret: 'dudes'}, function(err, data){
  if(err){
    console.log(err);
  }
  console.log(data);
});

Development

git clone https://github.com/toddself/node-parsely
cd node-parsely
npm install

API

1.0.3

9 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago