knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/" )
Access the ChannelAdvisor API using R.
# Install development version from GitHub devtools::install_github("anthonypileggi/channeladvisor")
To use, you'll first need to get access and set these environment variables.
CHANNELADVISOR_PROFILE_ID <- "123456" CHANNELADVISOR_DEV_KEY = "your-dev-key" CHANNELADVISOR_APP_ID = "your-app-id" CHANNELADVISOR_SECRET = "your-secret" CHANNELADVISOR_ACCESS_TOKEN = "your-access-token" CHANNELADVISOR_REFRESH_TOKEN = "your-refresh-token"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.