Is There Lightning - Request[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

    [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