waitlisted
v0.0.5
Published
Node.js module that implements the offical waitlisted api
Downloads
7
Readme
node_waitlisted
Node.js module that implements the offical waitlisted api
Installation
The easiest way to install node_waitlisted is with npm
npm install waitlisted
Usage
Setup Waitlisted to know the URL to use to manage your reservations:
var waitlisted = new Waitlisted('Your domain from Waitlisted.co')
API
waitlisted.create(email,name,refcode,cb)
Create a Reservation
email
- The email of the person requesting reservation.name
- The name of the person requesting the reservation. By default - '' .refcode
- The referral code for the user. By default - '' .
waitlisted.create('[email protected]','Waitlisted Co', function(err,data){})
waitlisted.get(email,cb)
Get a Specific Reservation
email
- The email of the specific reservation
waitlisted.get('[email protected]', function(err,data){})