api_get {eiopaR}R Documentation

This function is a helper to make get requests to the API.

Description

This function is a helper to make get requests to the API.

Usage

api_get(path)

Arguments

path

the path to an endpoint of the API

Value

A list of class "eiopaR_api". It has at least the following components:

content

the JSON content parsed to a list.

path

the path to the requested endpoint.

response

the raw response.


[Package eiopaR version 0.1.1 Index]