RetrieveSegment <- function(id) {
reqUri <- paste("https://www.strava.com/api/v3/segments/", id, sep = "")
request <- GET(reqUri, config = config)
return(content(request))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.