Kagi::CLI
Inherits Reference < Object
Defines a command-line interface for interacting with the Kagi APIs
$ ./bin/kagi
Usage: kagi [subcommand] [argument]
kagi search [query] - Search Kagi
kagi enrich [news|web] [query] - Search Enrichment APIs
kagi fast-gpt [query] - Ask FastGPT
kagi summarize [url] - Summarize a URL
Instance methods
enrich(cmd : String, query : String)
Search for query via the enrich API (depending on the cmd) and print the results