liderman / go-hotellook-api

Golang implementation Hotellook API for static data access

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Golang implementation Hotellook API for static data access

License:MIT License


Languages

Language:Go 100.0%