Unity interview question

Q: What code / commands would you write to connect with an API?