set_endpoint: Set SB endpoint

View source: R/set_endpoint.R

set_endpointR Documentation

Set SB endpoint

Description

Sets the internal URLS used to either the production or development (beta) SB server. URLS are stored internally to the package

Usage

set_endpoint(endpoint = c("production", "development"))

Arguments

endpoint

Indicate which SB endpoint you want to use options: c('production','development')

Author(s)

Luke Winslow

Examples


set_endpoint('prod')

# getting item from production SB servers
item_get('5060b03ae4b00fc20c4f3c8b')

set_endpoint('dev')
# getting item from beta SB servers
item_get('521e4686e4b051c878dc35d0')




sbtools documentation built on May 1, 2023, 1:07 a.m.