Exploring working of API in the browser

Now before we can add anything to Atom, we want to go ahead and explore this API so we can see how it works in the browser. This will give us a better idea about what weather data we get back, when we pass a latitude and longitude to the API. To do this we'll head over to the browser, and we'll visit a couple of URLs.

First up let's go to forecast.io. It is a regular weather website, you type in your location and you get all the weather information you'd expect:

As shown in the preceding image, there's warnings, there's radar, there's the current weather, and we also have the weekly forecast in the website ...

Get Learning Node.js Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.