hunter v0.5.1 Hunter.Result View Source

Result entity

Fields

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Hunter.Result{
  accounts: [Hunter.Account.t()],
  hashtags: [String.t()],
  statuses: [Hunter.Status.t()]
}

Link to this section Functions

Link to this function

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

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