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_)
	
}
fawda123/rStrava documentation built on March 27, 2024, 3:16 p.m.