Cloud Cover - Request
https://sonicweather.com/API/getClouds.php?lat=[latitude]&long=[longitude]&key=[SonicWeather key]
Request Parameters
latitude - required
The latitude of the location to get cloud cover
longitude - required
The longitude of the location to get clouds cover
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/getClouds.php?lat=33.89&long=-83.44&key=abcdefghijklmnop
( [sonic] => Array ( [key] => abcdefghijklmnop ) [loc] => Array ( [lat] => 33.89 [long] => -83.44 ) [clouds] => Array ( [luminosity] => 87.2 [text] => Partly Clear ) )
Response Format
key - Your secret key
lat - The latitude of the requested location
long - The longitude of the requested location
clouds - The luminosity and corresponding cloud cover for the location. Luminosity values
and their relationship to cloud cover do change based on temperature. Options for text include clear, mostly
clear, partly clear, mostly cloudy, and cloudy.