View source: R/call_slack_api.R
| call_slack_api | R Documentation | 
A wrapper function to call the Slack API with authentication and pagination.
call_slack_api(
  path,
  ...,
  body = NULL,
  .method = c("GET", "POST"),
  token,
  .verbose = Sys.getenv("SLACKR_VERBOSE", "FALSE"),
  .next_cursor = ""
)
path | 
 The API definition path, e.g.   | 
... | 
 These arguments must be named and will be added to the API query string.  | 
body | 
 If   | 
.method | 
 Either "GET" or "POST".  | 
token | 
 Authentication token bearing required scopes.  | 
.verbose | 
 If TRUE, prints   | 
.next_cursor | 
 The value of the next cursor, when using pagination.  | 
The API response (a named list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.