View source: R/call_slack_api.R
with_pagination | R Documentation |
This loops over fun
, extracts the next_cursor
from the API response, and
injects this into the next loop. At the completion of each loop, the function convert_response_to_tibble()
is run with extract
as and argument. The results are combined with dplyr::bind_rows()
with_pagination(fun, extract)
fun |
A function that calls the slack API. |
extract |
The name of the element to extract from the API response. |
A tibble
call_slack_api
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.