1.0.1 • Published 7 years ago

digital-concierge v1.0.1

Weekly downloads
3
License
ISC
Repository
-
Last release
7 years ago

digital-concierge

DigitalConcierge - NodeJS client for digital-concierge-server Connect your device with the Hospitality Digital Concierge API. This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.8
  • Package version: 1.0.8
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install digital-concierge --save

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/digital-concierge then install it via:

    npm install YOUR_USERNAME/digital-concierge --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var JiboHotelServicesApi = require('digital-concierge');

var api = new JiboHotelServicesApi.CheckInApi()

var hotelID = "hotelID_example"; // {String} Hotel where JIBO is placed at the moment.

var roomID = "roomID_example"; // {String} JIBO's actual room location.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.checkInGet(hotelID, roomID, callback);

Documentation for API Endpoints

All URIs are relative to https://jiboinroom.accpmo.com/api/v1

ClassMethodHTTP requestDescription
JiboHotelServicesApi.CheckInApicheckInGetGET /CheckInGet Check-In Data
JiboHotelServicesApi.CheckInApicheckInPostPOST /CheckInPost Check-In Data
JiboHotelServicesApi.CreditCardApicreditCardGetGET /CreditCardGet CreditCard Data
JiboHotelServicesApi.CreditCardApicreditCardPostPOST /CreditCardPost CreditCard Data
JiboHotelServicesApi.HotelServicesApihotelServicesGetGET /HotelServicesGet Hotel Services
JiboHotelServicesApi.LocalContextApilocalContextGetGET /LocalContextGet Local Context
JiboHotelServicesApi.RestaurantServicesApirestaurantReservationGetGET /RestaurantReservationGet Restaurant Services Disponibility by time and number of diners
JiboHotelServicesApi.RestaurantServicesApirestaurantReservationPostPOST /RestaurantReservationBook Restaurant Services
JiboHotelServicesApi.RoomCheckOutApicheckOutPostPOST /CheckOutRoom Check-Out Execution and Payment
JiboHotelServicesApi.RoomCheckOutApiexpendCheckOutPostPOST /ExpendCheckOutRoom Check-Out Time Expansion
JiboHotelServicesApi.RoomCheckOutApiinvoiceGetGET /InvoiceGet Room Check-Out Information
JiboHotelServicesApi.RoomServicesApiroomServicesGetGET /RoomServicesGet Room Services
JiboHotelServicesApi.RoomServicesApiroomServicesPostPOST /RoomServicesOrder Room Services
JiboHotelServicesApi.TaxiApitaxiPostPOST /TaxiCreate Taxi Booking Request
JiboHotelServicesApi.TouristicInformationApitouristicInformationGetGET /TouristicInformationGet Touristic Information

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.