@chuxingpay/homeinns

homeinns sdk

Usage no npm install needed!

<script type="module">
  import chuxingpayHomeinns from 'https://cdn.skypack.dev/@chuxingpay/homeinns';
</script>

README

如家接口对接 SDK

安装

npm i @chuxingpay/homeinns

接口函数

  • getCities: 获取城市列表
  • getHotelList: 获取酒店列表信息
  • getHotelInfo: 获取单个酒店信息
  • getHotelRoomTypeList: 获取酒店房型列表
  • getHotelRoomRateList: 获取酒店房价列表
  • getHotelInventoryList: 获取酒店库存
  • createOrder: 创建订单
  • queryOrder: 查询订单
  • cancelOrder: 取消订单