Submits get requests to the Harvest API v2 with retry functionality. Errors are messaged to the execution environment and set to NULL allowing user-facing function returns to provide data frame output.

get_request(url = NULL, user = NULL, key = NULL, ...)

Arguments

url

Character url of the get request.

user

Character account number (e.g. user = '12345') for authentication. Register at Harvest Developers.

key

Character key (e.g. key = 'Bearer <secret key>') for API authentication. Register at Harvest Developers.

...

Additional arguments, potentially passed to other functions - see details in get_table

Value

contents of the API response

References

Set up your API key Read the Harvest API v2 documentation Read the httr documentation Refer to curl documentation for more http_version options