#' @title Build the API endpoint
#' @description Take an endpoint and attach it to the base url from finnhub
#'
#' @param end_point An API endpoint. Example for stock peers /stock/peers.
#'
#' @importFrom config get
#'
#' @return
#'
#' @examples
#' finnhub_base_url <- 'https://finnhub.io/api/v1/'
#' endpoint_url('stock/peers')
endpoint_url <- function(end_point, ...){
paste0(finnhub_base_url, end_point)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.