.make_request {nixtlar}R Documentation

Make requests to the 'TimeGPT' API This is a private function of 'nixtlar'

Description

Make requests to the 'TimeGPT' API This is a private function of 'nixtlar'

Usage

.make_request(base_url, api_key, payload_list)

Arguments

base_url

String specifying the API endpoint to which the request is sent.

api_key

The user's API key.

payload_list

List containing the information to be sent to the 'TimeGPT' API.

Value

List representing the JSON response from the API endpoint.

Examples

## Not run: 
  response <- .make_request(base_url, api_key, payload_list)

## End(Not run)


[Package nixtlar version 0.6.2 Index]