Add call function to perform the API calls and store the results.