search_resource: Search Trello

View source: R/search_resource.R

search_resourceR Documentation

Search Trello

Description

Search for resources.

Usage

search_resource(
  string,
  resource = "all",
  boards = "mine",
  partial = FALSE,
  query = list(),
  modeltype,
  ...
)

search_cards(string, boards = "mine", partial = FALSE, query = list(), ...)

search_actions(string, boards = "mine", partial = FALSE, query = list(), ...)

search_boards(string, boards = "mine", partial = FALSE, query = list(), ...)

search_members(string, boards = "mine", partial = FALSE, query = list(), ...)

search_teams(string, boards = "mine", partial = FALSE, query = list(), ...)

Arguments

string

Text to search for.

resource

Type of resource to return; typically "cards". Defaults to "all".

boards

Boards to limit the search to - defaults to "mine".

partial

Should partial matching be used? Defaults to FALSE.

query

Name list of additional query parameters; consult search API reference

modeltype

Deprecated, use resource instead.

...

Additional arguments passed to get_resource().

Details

Search can be narrowed down by resource type and will return a single data frame per each type (if anything is found). The value of the resource argument is passed on modelTypes - see other attributes at search API reference.

Value

A data frame.

See Also

get_resource(), get_token()

Examples


## Not run: 

search_resource("Anything with this text")
search_cards("A card with this text")


## End(Not run)

jchrom/trello documentation built on Aug. 30, 2023, 6:56 p.m.