module Kagi::Search

Overview

Encapsulates methods for interacting with the /search endpoint

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

Defined in:

kagi/search.cr

Constant Summary

Log = Kagi::Log.for(self)

Class Method Summary

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

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


[View source]