From the course: Learning App Building with Vanilla JavaScript

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Getting your API key

Getting your API key - JavaScript Tutorial

From the course: Learning App Building with Vanilla JavaScript

Start my 1-month free trial

Getting your API key

- [Instructor] The videos in this course make use of data from OpenWeatherMap.org. Data requests from this service require an API key which is a unique identifier that associates you with a request coming in. The service provides a limited amount of data for free and by having your own key you can ensure that you stay below the limit of free requests. To do this you need to sign up for an account with OpenWeatherMap.org and obtain an API key which you will use when creating your Ajax requests for data. So let's set that up now, OpenWeatherMap.org makes weather information available under a creative commons license, data is free for up to 60 requests per minute which will work fine for this course. It's only more intensive uses that require a paid subscription. To get an API key go to OpenWeatherMap.org in your browser and in the menu click API. This page documents the terms as well as endpoints you can hit with your Ajax requests. Click the API key link then on the page that opens…

Contents