getcurrentconditions(zip, station)

Top  Previous  Next

Returns:

A real value pertaining to the weather information for the specified zip code and/or Station ID.

 

Arguments:

Argument0: ZIP Code (string)

Argument1: (Optional) WeatherBug Station ID (string)

 

Return values:

1

Successful

-1

Error connecting

-2

Error sending request

-3

Socket error 10054 when receiving

-4

The first argument is required! :P

Any other negative number

Windows Socket error code

 

Comments:

To get to the data, use getcurrentconditionsvalue.