Skip to content

Golang implementation Hotellook API for static data access

License

Notifications You must be signed in to change notification settings

liderman/go-hotellook-api

Repository files navigation

go-hotellook-api

Golang implementation Hotellook API for static data access

GoDoc

Installation

go get github.com/liderman/go-hotellook-api

Usage

Creates a new instance HotellookApi:

hotelApi := hotellook.NewHotellookApi("YOUR_TOKEN")

Getting a list of hotels for locationId 895:

hotels, err := hotelApi.Hotels(895)

Requirements

  • Need at least go1.5 or newer.

Documentation

You can read package documentation here.