Node.js module that implements the offical waitlisted api
The easiest way to install node_waitlisted is with npm
npm install waitlisted
Setup Waitlisted to know the URL to use to manage your reservations:
var waitlisted = new Waitlisted('Your domain from Waitlisted.co')
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('example@example.com','Waitlisted Co', function(err,data){})
waitlisted.get(email,cb)
Get a Specific Reservation
email
- The email of the specific reservationwaitlisted.get('example@example.com', function(err,data){})