IBM Interview Question

Asked to take in data from an API and do calculations with it