Data/Map Requests

The following examples demonstrate making basic data and map imagery requests using the Javascript SDK.

Display an observation

Render a basic observation for a location. The following example will display the latest observation for Chicago, IL with basic styling.

Display a 5-day forecast

Render a 5-day forecast for a location. The following example will display a forecast for Minneapolis, MN with basic styling.

Display a basic map image

Request a map image from AerisWeather Maps. The following example will display current temperatures centered on Minneapolis, MN and output the valid time of the data.

Plotting API Data

Request minutely precipitation from the conditions endpoint and plot data returned using Chart.js.

Last modified: November 20, 2019