First of all, huge thanks to all of the contributors to this project for their excellent work.

I now have WeeWx running alongside Pi Hole on a Raspberry Pi and I'm very delighted with the functionality.
I have been uploading weather data to Weather Underground since mid-2015 from my Ambient Weather device. Now I would like to get that data back so that I can add it to the WeeWX database. Fortunately I am grandfathered in for 1500 per day/30 per minute API calls.
I came across the WU-History app (
https://github.com/ktrue/WU-History) which works fine, but I can't find a way to tell it to download the daily (5 minute interval) observations for the past 6 years. However, I am able to download the data a day at a time.
It looks like I should be passing values to the script:
$da = $_REQUEST['day'];
$mo = $_REQUEST['month'];
$yr = $_REQUEST['year'];
$da2 = $_REQUEST['dayend'];
$mo2 = $_REQUEST['monthend'];
$yr2 = $_REQUEST['yearend'];
$units = $_REQUEST['units'];
$mode = $_REQUEST['mode'];
I tried
https://mywebsite.com/WXDailyHistory.php?year=2021&month=1&day=1&dayend=31&mode=1&debug=y To get the data for January of this year, but it only returned data for January 1.
The other concern is that I think the current Weather Underground API is
https://api.weather.com/v2/pws/history/all??stationId=KSSCCCCCN&format=json&units=m&date=YYYYMMDD&apiKey=xxxxxxxxxxx, but the script uses
https://www.wunderground.com/weatherstation/WXDailyHistory.aspI wonder if I should just run a JavaScript script from my browser to get this data? Any guidance would be greatly appreciated.