Is There Lightning - Request
https://sonicweather.com/API/isLightning.php?lat=[latitude]&long=[longitude]&key=[SonicWeather key]
Request Parameters
latitude - required
The latitude of the location to detect lightning
longitude - required
The longitude of the location to detect lightning
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/isLightning.php?lat=40.91&long=-81.10&key=abcdefghijklmnop
( [sonic] => Array ( [key] => abcdefghijklmnop ) [loc] => Array ( [lat] => 40.91 [long] => -81.10 ) [isLightning] => TRUE )
Response Format
key - Your secret key
lat - The latitude of the requested location
long - The longitude of the requested location
isLightning - Boolean (TRUE/FALSE) value if lightning is detected or not