SigFig interview question

An API call handling question.