How to include sunrise, sunset and moon phase data into your API requests

In addition to providing historical weather observations and weather forecast data, the Weather API also provides astronomical information. This astronomical information includes sunset, sunrise and moon phase data. Why is astronomical information useful? Sunset, sunrise and moon information goes hand-in-hand with weather data in many use cases. The information can help answer some basic questions: …

How to make a WordPress plugin that uses shortcodes to show the weather forecast

Note – If you want to use this plugin right away, you can download the ready-to-install version from the WordPress plugins directory. WordPress is a hugely popular content management system used by hundreds of millions of sites across the internet to build websites and blogs. In fact, it bills itself as “the world’s most popular …

How to look up the current weather conditions in the Weather API

Many weather data applications such as weather widgets, weather analytics tools and information displays find it useful to communicate the current weather conditions. These conditions include current temperature, wind speed and direction, recent precipitation and more. Looking up the current weather conditions for one or more locations is easy in the Visual Crossing Weather API. …

How can I load historical weather data using Google Apps Script?

Google Apps Script also known as Apps Script or sometimes Google Script, is a scripting language based on JavaScript and used within Google’s G Suite applications. Although it started life as a side project within Google Sheets, today it is used as a scripting language within all of the Google apps family including Google Sheets, …

How to use Python and Pandas to join historical weather data to road accident data

I am currently investigating the relationship between weather conditions and accidents by using a dataset of road accidents in Fairfax County, Virginia obtained from the Virginia Department of Motor Vehicles. The first step to perform the analysis is to combine the accident data with the historical weather conditions. In this article, we will discuss how …

How to fetch weather forecast data from a RESTful web service in Java

In this article, we will use a RESTful web service to retrieve weather forecast data into a simple Java application. We will first retrieve the data as a comma separator value (CSV) string. After that we will retrieve the same weather forecast in JSON format so we can manipulate the weather forecast data easily within …

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 …