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/.
1 | get_openfec(path, query_parameters = list())
|
path |
A character string of the OpenFEC endpoint. |
query_parameters |
A list with values of the parameters to use in the request. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.