Golang implementation Hotellook API for static data access
go get github.com/liderman/go-hotellook-api
Creates a new instance HotellookApi:
hotelApi := hotellook.NewHotellookApi("YOUR_TOKEN")Getting a list of hotels for locationId 895:
hotels, err := hotelApi.Hotels(895)- Need at least
go1.5or newer.
You can read package documentation here.