search_resource: Search Trello

Description Usage Arguments Details Value See Also Examples

View source: R/search_resource.R

Description

Search for resources.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
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

1
2
3
4
5
6
7
## Not run: 

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


## End(Not run)

trelloR documentation built on April 22, 2021, 1:07 a.m.