module

Kagi::Search

Encapsulates methods for interacting with the /search endpoint

https://help.kagi.com/kagi/api/search.html

Constants

Log = Kagi::Log.for(self)

Class methods

query(q : String, limit : Int32 = 10) : Array(Kagi::Object::Result | Kagi::Object::RelatedResults)

Performs a search and returns the results. Typically, the array returned are all Kagi::Object::Result, while the last item is a Kagi::Object::RelatedResults

https://help.kagi.com/kagi/api/search.html#get-search

Source