diff --git a/R/make_request.R b/R/make_request.R index b323618..c8a52d0 100644 --- a/R/make_request.R +++ b/R/make_request.R @@ -1,7 +1,7 @@ #' Make requests to the 'TimeGPT' API #' This is a private function of 'nixtlar' #' -#' @param url String specifying the API endpoint to which the request is sent. +#' @param base_url String specifying the API endpoint to which the request is sent. #' @param api_key The user's API key. #' @param payload_list List containing the information to be sent to the 'TimeGPT' API. #' @@ -11,7 +11,7 @@ #' #' @examples #' \dontrun{ -#' response <- .make_request(url, api_key, payload_list_element) +#' response <- .make_request(base_url, api_key, payload_list) #' } #' .make_request <- function(base_url, api_key, payload_list) { diff --git a/man/dot-make_request.Rd b/man/dot-make_request.Rd index 9c96aa4..2e04f6c 100644 --- a/man/dot-make_request.Rd +++ b/man/dot-make_request.Rd @@ -8,11 +8,11 @@ This is a private function of 'nixtlar'} .make_request(base_url, api_key, payload_list) } \arguments{ +\item{base_url}{String specifying the API endpoint to which the request is sent.} + \item{api_key}{The user's API key.} \item{payload_list}{List containing the information to be sent to the 'TimeGPT' API.} - -\item{url}{String specifying the API endpoint to which the request is sent.} } \value{ List representing the JSON response from the API endpoint. @@ -23,7 +23,7 @@ This is a private function of 'nixtlar' } \examples{ \dontrun{ - response <- .make_request(url, api_key, payload_list_element) + response <- .make_request(base_url, api_key, payload_list) } } diff --git a/vignettes/azure-quickstart.Rmd b/vignettes/azure-quickstart.Rmd index 4fdd188..7fe0e19 100644 --- a/vignettes/azure-quickstart.Rmd +++ b/vignettes/azure-quickstart.Rmd @@ -32,7 +32,7 @@ TimeGEN-1 is TimeGPT optimized for Azure, Microsoft's cloud computing service. Y ## 1. Set up a TimeGEN-1 endpoint account and generate your API key on Azure. -- Go to [ml.azure.com](ml.azure.com) +- Go to [ml.azure.com](https://ml.azure.com) - Sign in or create an account. - If you don't have one already, create a workspace. This might require a subscription.