Hunter.Result (hunter v0.6.0)

Copy Markdown View Source

Result entity

Fields

Summary

Types

t()

@type t() :: %Hunter.Result{
  accounts: [Hunter.Account.t()],
  hashtags: [Hunter.Tag.t()],
  statuses: [Hunter.Status.t()]
}

Functions

search(conn, query, options \\ [])

@spec search(Hunter.Client.t(), String.t(), Keyword.t()) :: t()

Search for content

Parameters

  • conn - Connection credentials
  • q - the search query, if q is a URL Mastodon will attempt to fetch the provided account or status, it will do a local account and hashtag search
  • options - option list

Options

  • resolve - Whether to resolve non-local accounts