Requesting sub-hourly weather data using the Weather API

Sub-hourly historical weather data, or historical weather data with minute-by-minute resolution can be retrieved by users of the weather API. Please see the weather data editions page for details on which weather API plans include sub-hourly data access. Requests for sub-hourly data mirror the same requests for hourly or daily uses however there are some …

What is a Weather API?

A weather API is an Application Programming Interface that allows weather data to be queried from scripts and code. Good weather APIs provide both historical weather data and forecast data via an easy-to-use, well-defined programming interface. The best APIs have dozens of weather measures, near-real-time current conditions reporting, and decades of worldwide historical weather reports. …

Agriculture elements in the Timeline Weather API

The Timeline Weather API includes elements that are designed for use by the agricultural, farming and horticultural industries. These elements are designed to providing weather data that influence those who grow plants or raise livestock. The elements on this page are available only to certain subscription levels. For more information, please see our pricing page. …

Date and Times in the Weather API

The Weather API uses a set of standards to include date time information. This article describes the standards used. Date formats in the Weather API Visual Crossing uses ISO 8601 based date formats for both date and times. Dates are formatted according to YYYY-MM-DD format (2022-06-15 for June 15th 2022). Times are formatted according to HH:mm:ss. The hours are specified in …

How to load weather data into a Juypter Notebook

This article describes how to create a new Jupyter notebook that retrieves weather data from the Visual Crossing Weather API. The example uses Python as development language but you can choose any language that Jupyter supports including C++ and R. JupyterLab is used to create the notebook. JupyterLab is a web-based interactive development environment for …

Using the time period parameter to specify dynamic dates for Weather API requests

Often when requesting weather data via the weather API we wish to request data for a fixed period based on the current data. For example, request the data for yesterday, today or the next seven days. The time period parameter of the weather API allows you to easily request data for dynamic time periods. Example …

Importing data from a JSON Weather API into Microsoft Excel using Power Query

This article shows how to import data into Microsoft Excel using Power Query from a RESTful Weather API. This API returns JSON-based data. We are also going to explain how to create a loop within our script so that we can call the API multiple times for multiple locations and create a combined result table …