Netcracker Technology interview question

Create a program to fetch data from an API and display the result.