Lua resty client for myallocator api inspired by Enrico's Nodejs myallocator client
#luarocks install lua-myallocator
local ma = require 'myallocator'
local auth = {
vendor_id = 'xxx',
vendor_password = 'xxxx',
property_id = '739393',
property_password = 'xxx'
}
local myallocator = ma:new(auth)
-- get the room list
local res = myallocator:RoomList()
new(auth_config)
- vendor_id
- vendor_password
- property_id
- property_password
- ARIRulesList(params)
- ARIRulesUpdate(params)
- ARIUpdate(params)
- ARIUpdateStatus(params)
- AssociatePropertyToPMS(params)
- AssociateUserToPMS(params)
- BookingList(params)
- BookingPaymentDownload(params)
- ChannelList(params)
- HelloUser(params)
- HelloVendor(params)
- HelloVendorUser(params)
- HelloWorld(params)
- LoopBookingCreate(params)
- PropertyChannelList(params)
- PropertyList(params)
- RoomAvailabilityList(params)
- RoomCreate(params)
- RoomList(params)
- RoomRemove(params)
- RoomUpdate(params)
- VendorSet(params)