Pickyourtrail Interview Question

How do I get information from API?