Hay Cutting Forecast - Request
https://sonicweather.com/API/hay.php?lat=[latitude]&long=[longitude]&key=[SonicWeather key]
Request Parameters
latitude - required
The latitude of the location for hay cutting forecast
longitude - required
The longitude of the location for hay cutting forecast
key - required
Your SonicWeather secret key. Your secret key must be kept secret. Do not embed it in JavaScript source
code that you transmit to clients.
Sample Request
https://sonicweather.com/API/hay.php?lat=36.9&long=-95.5&key=abcdefghijklmnop
( [sonic] => Array ( [key] => abcdefghijklmnop ) [loc] => Array ( [lat] => 36.9 [long] => -95.5 ) [hay] => Array ( [validStartTime] => 2019-04-27 13:00:00 CDT [validEndTime] => 2019-04-30 19:00:00 CDT [forecast] => poor ) )
Response Format
key - Your secret key
lat - The latitude of the requested location
long - The longitude of the requested location
hay - An array of hay forecast data. Data includes the valid start time, valid end time, and
the hay cutting forecast. The hay cutting forecast can be excellent, good, fair, and poor.