MSS API client for Go projects
This library requires an IANA Time Zone database to be present on the operating system (because it uses https://pkg.go.dev/time#LoadLocation). This database comes pre-installed with many Linux distros. If it’s unavailable (such as on Windows), https://pkg.go.dev/time/tzdata can be imported in the main program (which uses mss-go) instead.
- 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.
Set the environment variables with:
export $(make env)
Run make simple
or make advanced
Run make test