Skip to content

bookingsuedtirol/mss-go

Repository files navigation

mss-go

MSS API client for Go projects

Dependencies

This library relies on the IANA Time Zone Database, which must be available on the operating system. It uses time.LoadLocation to load time zone data. Many Linux distributions include this database by default, but on Alpine Linux, you must install it explicitly:

apk add --no-cache tzdata

For Windows support, add the following import to your main Go file:

import _ "time/tzdata"

For details, see time/tzdata.

Available methods

  • getHotelList ✓
  • getSpecialList ✓
  • getRoomList ✓
  • getPriceList ✓
  • getRoomAvailability ✓
  • prepareBooking ✓
  • getBooking ✓
  • cancelBooking ✓
  • createInquiry ✓
  • getUserSources ✓
  • getLocationList ✓
  • getMasterpackagesList
  • getThemeList
  • validateCoupon ✓

Warning: Only the methods with a ✓ next to them have been tested so far.

Before running examples/tests

Set the environment variables with:

export $(make env)

Examples

Run make simple or make advanced

Tests

Run make test

About

MSS API client for Go projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •