Repository navigation
v1.6.1
Go SDK
FlightRadarAPI now ships a third SDK, alongside Python and Node.js:
go get github.com/JeanExtreme002/FlightRadarAPI/go@latestimport "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.