Found a solution, it’s pretty easy. Here is a sample code if anyone finds it useful:
curl "https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=<station_id>&PASSWORD=<password>&dateutc=now&AqOZONE=11&AqPM2.5=8&action=updateraw"
Check WU’s wiki for other fields.