set_endpoint | R Documentation |
Sets the internal URLS used to either the production or development (beta) SB server. URLS are stored internally to the package
set_endpoint(endpoint = c("production", "development"))
endpoint |
Indicate which SB endpoint
you want to use options: |
Luke Winslow
set_endpoint('prod')
# getting item from production SB servers
item_get('5060b03ae4b00fc20c4f3c8b')
set_endpoint('dev')
# getting item from beta SB servers
item_get('521e4686e4b051c878dc35d0')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.