Global Temperature - Request

https://sonicweather.com/API/globalTemp.php?key=[SonicWeather key]

Request Parameters

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/globalTemp.php?key=abcdefghijklmnop

(
    [sonic] => Array
        (
            [key] => abcdefghijklmnop
        )

    [global] => Array
        (
            [temperature] => 56.2
            [deviation] => -1
        )

)
									

Response Format

key - Your secret key
temperature - The current global temperature in degrees F
deviation - The current global temperature deviation from 30 year global average in degrees F