Weather Arkansas API

Welcome! This page provides live weather data from NOAA. Developers can use it for their own projects.

Latest Weather Data

Loading...

Instructions for Developers

To access the data programmatically:

fetch('https://weather-arkansas.github.io/api.html')
  .then(res => res.text())
  .then(html => {
      // Extract the weatherData variable from the page
      const dataMatch = html.match(/const weatherData = (\[.*\]);/s);
      if(dataMatch){
          const weatherData = JSON.parse(dataMatch[1]);
          console.log(weatherData);
      }
  });

Data Structure

Each record has: