class

XIVAPI::Dataclasses::SearchResult

Inherits JSON::Serializable < Reference < Object

Dataclass for results from the /search endpoint

Constructors

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

Instance methods

datatype

The name of the type of data that this item is.

Source
icon

The URL of the icon for the item.

Source
id

The ID of the item returned from the search results.

Source
name

The name of the item.

Source
score

The score of the item relative to the user's search query.

Source
url

The URL to the XIVAPI page for the item.

Source
url_type

The type of the URL, without the ID.

Source