Example 2: Extract Data by A Cell Range
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.
Last updated
Was this helpful?
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.
Last updated
Was this helpful?
API call use “candidate” in , 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".