ss_get: Execute curl commands for the Smartsheet API

View source: R/ss_api.R

ss_getR Documentation

Execute curl commands for the Smartsheet API

Description

ss_get() wraps the httr::GET() function ss_post() wraps the httr::POST() function ss_put() wraps the httr::PUT() function ss_delete() wraps the httr::DELETE() function

Usage

ss_get(path, ...)

ss_post(path, body, ...)

ss_delete(path, ...)

ss_put(path, ...)

Arguments

path

A character vector to add to the API url. See (https://smartsheet.redoc.ly/#section/Introduction) for more information.

...

Further arguments passed to ss_api

body

A list of objects

Details

Note that the environment variable SMARTSHEET_API_TOKEN should be defined in order to run this or any other smarsheetr functions.

Value

An httr::response object


smartsheetr documentation built on Nov. 2, 2023, 5:42 p.m.