API: Application Programming Interface “An API is a set of definitions and protocols for building and integrating application software.”
REST API: “Representational State Transfer API”
API is basically a set of functions and procedures that allow one application to access the features of other applications, REST is an architectural style for networking applications on the web. It is limited to client-server based applications. REST is a set of rules or guidelines to build a web API. There are many ways to build a web API, and REST is a standard way that will help in building it faster and also for third-parties to understand it better.
Use a list of candidate IDs from a range to retrieve name and party, and office information through an API call, and output results to another sheet tab.
API call use “candidate” in OpenFEC Developer page, and the first API builder “/candidate/{candidate_id}/”
Input the value (candidate id) from A1: A20 in sheet tab "id_list"
Iterate the ID list to make the API call, and retrieve data of candidate's name, party and office.
Output the data of 20 candidates to sheet tab "result".
API - Application Programming Interface. REST API - Representational State Transfer API. SERVER: the place has the resources. Client call (API call) -> Server - Data back over HTTP protocol. API Key - interface to identify its user, developer or calling program to a website, which is normally used to assist in tracking and controlling how the interface is being utilized.
Post: Create
Get: Read
Put: Update
Delete: Delete
/Resource/ {Required parameter} (Optional parameter) API Key
Use one candidate ID from a sheet tab to retrieve name and party, and office information through an API call, and output results to another sheet tab.
API call use “candidate” in , and the first API builder “/candidate/{candidate_id}/”
Input the value (candidate id) from A2 in sheet tab "person"
Make the API call and retrieve data of candidate's name, party and office.
Output the data to sheet tab "live".