alexrios / goqpx

Google QPX Express API client written in Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

goqpx

Build Status

Google QPX Express API client written in Go.

Usage example

...
params := make(goqpx.RequestParams)
params[goqpx.Origin] = "JFK"
params[goqpx.Destination] = "ORD"
params[goqpx.PassengersNumber] = "1"
params[goqpx.DepartureDate] = "2016-08-01"
params[goqpx.SolutionsNumber] = "10"

response, err := goqpx.PerformRequest(params, _yourGoogleAPIKey_)
...

About

Google QPX Express API client written in Go.


Languages

Language:Go 100.0%