class

Kagi::Object::Result

Inherits JSON::Serializable < Reference < Object

A single search result returned by a request

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

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

published

@[JSON::Field(key: "published", converter: Time::EpochConverter)] (If available) When the result was publshed

Source
rank

Search result rank, starting from 0

Source
snippet

(If available) HTML snippet from website

Source
thumbnail

(If available) Thumbnail associated with the result

Source
title

Website title

Source
type

Type of result object, always "0" for Result

Source
url

Full URL of website

Source