...

/

Getting Data From External API

Getting Data From External API

Learn how to get data from an external API to power your application.

Getting real with APIs

In this lesson, we will demonstrate an example with a weather application that takes a city from the user as input and displays its weather information. For simplicity, we did not add other functionalities and this will entirely focus on where we fetch the weather from the external weather API and display it on our application.

What is an API?

API (Application Programming Interface) is an interface designed to make two programs interact with each other and exchange information. Consider the weather API where API service providers have deployed infrastructure to obtain live weather information from all around the world and share that information with other applications upon request. This request ...