Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 680 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 680 Bytes

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.