ActiveXchange interview question

Coding - do a API call and print the result.