@0sora9/drone-fyi-cli
v0.1.1
Published
Command-line client for the UAVs FYI / Drone FYI public data API
Downloads
165
Readme
drone-fyi CLI
Command-line client for the UAVs FYI / Drone FYI public data API
(https://www.uavs.fyi/api/v1). Read-only, no API key, zero dependencies
(Node 18+ built-in fetch).
Install
# global
npm install -g @0sora9/drone-fyi-cli
drone-fyi health
# or run without installing
npx @0sora9/drone-fyi-cli companies --type=oemRun straight from the repo without publishing:
node cli/index.mjs companies --type=oem
# or link it as `drone-fyi`
cd cli && npm linkCommands
| Command | Description |
|---|---|
| health | API health check |
| stats | Dataset counts |
| endpoints | List every API endpoint |
| companies | List models and suppliers |
| company <id> | One company (e.g. plt_09) |
| components | Component categories |
| relationships | Supply relationships |
| supply-chain <platformId> | A platform's suppliers and customers |
| factories, funding | Secondary datasets |
| list <dataset> | Any other dataset (investors, production, vla-models, …) |
Flags
| Flag | Description |
|---|---|
| --json | Raw JSON instead of a formatted table |
| --base-url=<url> | Override the API base (default https://www.uavs.fyi) |
| --type=oem\|supplier | Filter companies by type |
| --country=XX | Filter by ISO country code |
| --to=<id> / --from=<id> | Filter relationships |
| --sort=<field> | Sort rows by a field |
| --limit=N / --offset=N | Paginate |
DRONE_FYI_BASE_URL env var also overrides the base.
Examples
drone-fyi companies --type=oem --country=US
drone-fyi company plt_09
drone-fyi supply-chain plt_09
drone-fyi relationships --to=plt_09
drone-fyi companies --type=oem --json > models.jsonNotes
- The CLI is a thin wrapper over the static JSON API; filtering/sorting happen client-side.
- 3D model assets are not exposed by the API yet, so they don't appear here.
