Skip to content
Golang implementation Aviasales API for data access
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
airline-directions.go
aviasales-api.go
city-directions.go
data-airlines-alliances.go
data-airlines.go
data-airports.go
data-cities.go
data-countries.go
data-planes.go
data-routes.go
prices-calendar.go
prices-cheap.go
prices-direct.go
prices-latest.go
prices-month-matrix.go
prices-nearest-places-matrix.go
prices-week-matrix.go
special-offers.go

README.md

go-aviasales-api

Golang implementation Aviasales API for data access

GoDoc

Installation

Stable release (v1):

go get gopkg.in/liderman/go-aviasales-api.v1

Non stable release (master branch):

go get github.com/liderman/go-aviasales-api

Usage

Creates a new instance AviasalesApi:

aviaApi := aviasales.NewAviasalesApi("YOUR_TOKEN")

Getting directions in which the airline operates flights sorted by popularity:

airlineDirections, err := aviaApi.AirlineDirections("SU", 10)

Requirements

  • Need at least go1.5 or newer.

Documentation

You can read package documentation here.

You can’t perform that action at this time.