@fons/fons
v6.2.5
Published
Fons Javascript Library
Downloads
136
Readme
fons.js 
Javascript SDK Library
Using
Example confirming an existing appointment
var Fons = require("@fons/fons");
var fons = new Fons();
fons.login("username", "password");
fons.appointment.confirm.v2("appointmentId").then(function(){
return fons.appointment.get.v2("appointmentId");
}).then(function(confirmedAppointment) {
// Update your local copy with a now confirmed appointment
}).catch(function(err) {
console.log(err);
});
Tests
Node.js
npm install -g mocha
npm install
mocha