R/url_gear.R

Defines functions url_gear

Documented in url_gear

#' Set the url of the equipment item to get data
#' 
#' Set the url of the equipment item to get data using an ID
#' 
#' @param id string of gear id assigned by Strava
#' 
#' @export
#' 
#' @details used by other functions
#' 
#' @return A character string of the gear URL used for API requests
url_gear <- function(id){
	url_ <- "https://www.strava.com/api/v3/gear/"
	url_ <- paste(url_, id, sep = "")
	return(url_)
	
}

Try the rStrava package in your browser

Any scripts or data that you put into this service are public.

rStrava documentation built on May 29, 2024, 12:35 p.m.