A Go client library for the Flyline API.
$ go get github.com/flyline-development/flyline-go
The module supports all Flyline API endpoints.
To call an endpoint you must set Token using SetToken()
object.
import (
"net/http"
"os"
"github.com/flyline-development/flyline_go"
)
flyline := flyline.SetToken("test_####")
response := flyline.GetSeatTypes()
Each endpoint returns an object which contains the parsed JSON from the HTTP response.
- Download this repo into your Go source directory
- Run
make setup
pull down all dependencies etc
Open an issue!