module Kagi::Search
Overview
Encapsulates methods for interacting with the /search
endpoint
https://help.kagi.com/kagi/api/search.html
Defined in:
kagi/search.crConstant Summary
-
Log =
Kagi::Log.for(self)
Class Method Summary
-
.query(q : String, limit : Int32 = 10) : Array(Kagi::Object::Result | Kagi::Object::RelatedResults)
Performs a search and returns the results.
Class Method Detail
def self.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