Skip to content

FlyLine-Development/flyline_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flyline-go

A Go client library for the Flyline API.

Table of Contents

Install

$ go get github.com/flyline-development/flyline-go

Documentation

The module supports all Flyline API endpoints.

GoDoc: GoDoc

Getting Started

Calling 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.

Developing

  1. Download this repo into your Go source directory
  2. Run make setup pull down all dependencies etc

Support

Open an issue!

License

About

Flyline Go Library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages