Skip to content

v1.6.1

Choose a tag to compare

@JeanExtreme002 JeanExtreme002 released this 25 Aug 03:34
· 10 commits to main since this release
a4022dc

Go SDK

FlightRadarAPI now ships a third SDK, alongside Python and Node.js:

go get github.com/JeanExtreme002/FlightRadarAPI/go@latest
import "github.com/JeanExtreme002/FlightRadarAPI/go/flightradarapi"

client := flightradarapi.New()
flights, err := client.GetFlights(ctx, flightradarapi.FlightSearch{})

Every method of FlightRadar24API has a counterpart, with the same parameters —
a test reads the Python source to keep it that way. What differs is the shape:
a context.Context on every request, error values instead of exceptions, and
an Options struct instead of keyword arguments. The package documentation
opens with a table mapping each name to its Python and Node.js counterpart.

Documentation: https://jeanextreme002.github.io/FlightRadarAPI/go/

Python and Node.js

Unchanged in this release apart from the version, which the three ports keep in
step.