Make requests to Kaggle's API

kgl_request(endpoint, ..., body = NULL)

Arguments

endpoint

Character. Endpoint to call.

...

For req_url_query(): Name-value pairs that provide query parameters. Each value must be either length-1 atomic vector or NULL (which is automatically dropped).

body

Send data in the request body.

Value

httr2 response object.