hunter v0.5.1 Hunter.Result View Source
Result entity
Fields
accounts
- list of matchedHunter.Account
statuses
- list of matchedHunter.Status
hashtags
- list of matched hashtags, as strings
Link to this section Summary
Functions
Search for content
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Hunter.Result{
accounts: [Hunter.Account.t()],
hashtags: [String.t()],
statuses: [Hunter.Status.t()]
}
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(conn, query, options \\ [])
View Source
search(Hunter.Client.t(), String.t(), Keyword.t()) :: Hunter.Result.t()
search(Hunter.Client.t(), String.t(), Keyword.t()) :: Hunter.Result.t()
Search for content
Parameters
conn
- Connection credentialsq
- the search query, ifq
is a URL Mastodon will attempt to fetch the provided account or status, it will do a local account and hashtag searchoptions
- option list
Options
resolve
- Whether to resolve non-local accounts