1.0.4 • Published 8 years ago

wufoo-entries v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

wufoo-entries

As you work with the Wufoo API, it is likely you’ll deal with the Entries API more than any other API.

wufoo-entries is an abstraction layer allowing easy creating and fetching of form entries from Wufoo.

Installation

$ npm install wufoo-entries

Usage

The Wufoo Entries API is broken up into two sections, one for getting entries, and the other for submitting entries. Documents can be found on Wufoo.com.

Example

{fishbowl}

This placeholder must be replaced with your subdomain.

{AOI6-LFKL-VM1Q-IEX9}

This placeholder must be replaced with your Wufoo API key.

var Wufoo = require('wufoo-entries');
var wufoo = new Wufoo('fishbowl', 'AOI6-LFKL-VM1Q-IEX9');

Entries GET

You’ll use the Entries GET API to grab Entry data from your Wufoo account.

Replace {fhey3v98o8fw7g} with your form identifier.

wufoo.getFormEntries('fhey3v98o8fw7g', function(err, entries) {
     // do something with your forms here.
});

Entries POST

You’ll use the Entries POST API to send Entry data to your Wufoo account.

Replace {fhey3v98o8fw7g} with your form identifier and include an object with your form data.

var formData = {
    'Field1': 'Lewis Arch'
};

wufoo.postFormEntries('fhey3v98o8fw7g', formData, function(err, entries) {
     // do something with your forms here.
});
1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago