Constructs a full URL and sends a GET request to the OpenFEC API. Returns the JSON response as a list if successful. OpenFEC ends points and parameters are documented at https://api.open.fec.gov/developers/.

get_openfec(path, query_parameters = list())

Arguments

path

A character string of the OpenFEC endpoint.

query_parameters

A list with values of the parameters to use in the request.