← Back to CLIs
pyrytakala

OpenSky

Manage opensky via CLI - states, flights, tracks. Use when user mentions 'opensky' or wants to interact with the opensky API.

Install

$ npx api2cli install opensky-cli

Details

Auth type: bearer
Version: 0.1.0
Author: pyrytakala
Views: 0

README

opensky-cli

CLI for the OpenSky Network API - live aircraft tracking data. Made with api2cli.dev.

Install

npx api2cli install pyry/opensky-cli

This clones the repo, builds the CLI, links it to your PATH, and installs the AgentSkill to your coding agents.

Install AgentSkill only

npx skills add pyry/opensky-cli

Usage

Authentication is optional. Anonymous access works with rate limits.

# Optional: set credentials for higher rate limits
opensky-cli auth set "username:password"

opensky-cli --help

Resources

states

CommandDescription
opensky-cli states all --jsonGet all current aircraft state vectors
opensky-cli states all --lamin 45.8 --lomin 5.9 --lamax 47.8 --lomax 10.5 --jsonGet states in bounding box
opensky-cli states all --icao24 abc9f3 --jsonGet state for specific aircraft
opensky-cli states all --extended --jsonGet states with aircraft category
opensky-cli states own --jsonGet states for your own sensors (requires auth)

flights

CommandDescription
opensky-cli flights all --begin <unix> --end <unix> --jsonGet all flights in time interval
opensky-cli flights aircraft --icao24 abc9f3 --begin <unix> --end <unix> --jsonGet flights for specific aircraft
opensky-cli flights arrivals --airport EDDF --begin <unix> --end <unix> --jsonGet arrivals at airport
opensky-cli flights departures --airport EDDF --begin <unix> --end <unix> --jsonGet departures from airport

tracks

CommandDescription
opensky-cli tracks get --icao24 abc9f3 --jsonGet trajectory for an aircraft
opensky-cli tracks get --icao24 abc9f3 --time <unix> --jsonGet trajectory at specific time

Global Flags

All commands support: --json, --format <text|json|csv|yaml>, --verbose, --no-color, --no-header

OpenSky - api2cli | api2cli