Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/liderman/go-hotellook-api

Golang implementation Hotellook API for static data access
https://github.com/liderman/go-hotellook-api

api-client golang hotel hotel-api hotel-booking hotel-content hotellook hotellook-api hotels

Last synced: about 2 months ago
JSON representation

Golang implementation Hotellook API for static data access

Awesome Lists containing this project

README

        

# go-hotellook-api
Golang implementation Hotellook API for static data access

[![GoDoc](https://godoc.org/github.com/liderman/go-hotellook-api?status.svg)](https://godoc.org/github.com/liderman/go-hotellook-api)

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

Usage
-----------
Creates a new instance HotellookApi:
```go
hotelApi := hotellook.NewHotellookApi("YOUR_TOKEN")
```

Getting a list of hotels for locationId `895`:
```go
hotels, err := hotelApi.Hotels(895)
```

Requirements
-----------

* Need at least `go1.5` or newer.

Documentation
-----------

You can read package documentation [here](http:godoc.org/github.com/liderman/go-hotellook-api).