@fons/fons

6.2.5 • Public • Published

fons.js Circle CI

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

  1. npm install -g mocha
  2. npm install
  3. mocha

/@fons/fons/

    Package Sidebar

    Install

    npm i @fons/fons

    Weekly Downloads

    189

    Version

    6.2.5

    License

    MIT

    Unpacked Size

    81.8 kB

    Total Files

    29

    Last publish

    Collaborators

    • jaredwray
    • troy.schneringer