Articles for "JavaScript"

How to load weather data in JavaScript using Fetch API, jQuery, d3 or node.js

Many applications need reliable weather forecast data or historical weather data that can be directly accessed from JavaScript code. They may be as simple as a weather forecast widget, a sophisticated historical weather data dashboard built using a JavaScript library such as jQuery, d3 or even a server side JavaScript application using node.js. All of …

How to add weather data to a Node.js app using a Weather API and JavaScript

In this article we are going to create a simple web app that displays weather data using the Visual Crossing Timeline Weather API. The output will be a simple HTML page that displays daily and hourly weather history data or weather forecast data (or even beyond) in a table. To download the source code for …

How to debug problems when running weather API queries in code

This article provides suggestions on how to troubleshoot and resolve some of the common problems we see people when people attempt to run weather API queries in code. The suggestions are listed in order that you should use to troubleshoot any problems. Does the query run in a browser? If your Weather API query doesn’t …

Replacing the OpenWeatherMap API with Visual Crossing Weather

Visual Crossing is a superior replacement for the OpenWeatherMap API (also known as the OpenWeather API) in both cost and functionality. By offering up to 1000 free results a day and full access to forecast historical data, Visual Crossing Weather makes it easy for everyone to test the API, compare data, evaluate extended weather functionality, …

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. …