| ACode: |
An alphanumeric license key issued by Weatherbug. |
| CityType: |
citytype="0" – city in the US.
citytype="1" – city outside of the US. |
| CityCode: |
5 digits designation for non-US cities. |
| Latitude: |
Location of a place north or south of the equator. Minimum value: -90. Maximum value: 90.
|
| Longitude: |
Location of a place east or west of the prime meridian. Minimum value -180. Maximum value: 180.
|
| SearchString: |
Parameter used to search for locations. Only US zipcodes and citynames can be searched.
SearchString is not case-sensitive and accepts blank spaces. |
| UnitType: |
unittype=0 – US customary units (miles, °F, etc...) [default].
unittype=1 – Metric system units (kms, °C, etc...). |
| ZipCode: |
5 digits designation for US cities only. |
Reference
1.Search Locations
2.Station List
3.Live Weather
4.Compact Live Weather
5.Forecast
6.Cam List
7.Alerts
Description:
Returns the location based on the (US and international) cityname or US zipcode input.
Call Format: http://<apicode>.api.wxbug.net/getLocationsXML.aspx?ACode=<apicode>&SearchString=<zipcode>
Example: http://A1111111111.api.wxbug.net/getLocationsXML.aspx?ACode=A11111111111&SearchString=64732
Input Parameters:
ACode (required)
SearchString (required)
Definition of API terms
The soundex system allows searching a city based on phonetics rather than spelling.
Call Format: http://<apicode>.api.wxbug.net/getLocationsXML.aspx?ACode=<apicode>&SearchString=<cityname>
Example: http://A1111111111.api.wxbug.net/getLocationsXML.aspx?ACode=A11111111111&SearchString=San Francisco
Input Parameters:
ACode (required)
SearchString (required)
Definition of API terms
Description:
For a given zipcode/citycode or (latitude,longitude) this call returns the weather stations in the area.
Call Format: http://<apicode>.api.wxbug.net/getStationsXML.aspx?ACode=<apicode>&zipCode=<zipcode>&unittype=
Example: http://A1111111111.api.wxbug.net/getStationsXML.aspx?ACode=A11111111111&zipCode=64732
Input Parameters:
ACode (required)
ZipCode (required)
Unittype (optional)
Definition of API terms |
Find zipcode by cityname
Call Format: http://<apicode>.api.wxbug.net/getStationsXML.aspx?ACode=<apicode>&cityCode=<citycode>&unittype=
Example: http://A1111111111.api.wxbug.net/getStationsXML.aspx?ACode=A11111111111cityCode=14390
Input Parameters:
ACode (required)
CityCode (required)
Unittype (optional)
Definition of API terms |
Find citycode by cityname
Call Format: http://<apicode>.api.wxbug.net/getStationsXML.aspx?ACode=<apicode>&lat=<latitude>&long=<longitude>&unittype=
Example: http://A1111111111.api.wxbug.net/getStationsXML.aspx?ACode=A11111111111&lat=55.73&long=-14.36
Input Parameters:
ACode (required)
Lat (required) [min:-90 max:90] (with 2 digits right to the decimal point)
Long (required) [min:-180 max:180] (with 2 digits right to the decimal point)
Unittype (optional)
Definition of API terms
Description:
Returns detailed live weather conditions for the chosen location.
The StationId Call Format allows searching weather conditions for multiple stations (up to 5). Separate the station ids with a comma; no blank space.
Call Format: http://<apicode>.api.wxbug.net/getLiveWeatherRSS.aspx?ACode=<apicode>&stationid=<stationid>&unittype=
Single Station Example: http://A1111111111.api.wxbug.net/getLiveWeatherRSS.aspx?ACode=A11111111111&stationid=awshq
Multiple Stations Example: http://A1111111111.api.wxbug.net/getLiveWeatherRSS.aspx?ACode=A11111111111&stationid=awshq,vomm
Input Parameters:
ACode (required)
Stationid (required)
Unittype (optional)
Definition of API terms |
Find stationid by zipcode |
Find stationid by citycode
Call Format: http://<apicode>.api.wxbug.net/getLiveWeatherRSS.aspx?ACode=<apicode>&zipCode=<zipcode>&unittype=
Example: http://A1111111111.api.wxbug.net/getLiveWeatherRSS.aspx?ACode=A11111111111&zipCode=64732
Input Parameters:
ACode (required)
ZipCode (required)
Unittype (optional)
Definition of API terms |
Find zipcode by cityname
Call Format: http://<apicode>.api.wxbug.net/getLiveWeatherRSS.aspx?ACode=<apicode>&cityCode=<citycode>&unittype=
Example: http://A1111111111.api.wxbug.net/getLiveWeatherRSS.aspx?ACode=A1111111111&cityCode=14390
Input Parameters:
ACode (required)
CityCode (required)
Unittype (optional)
Definition of API terms |
Find citycode by cityname
Call Format: http://<apicode>.api.wxbug.net/getLiveWeatherRSS.aspx?ACode=<apicode>&lat=<latitude>&long=<longitude>&unittype=
Example: http://A1111111111.api.wxbug.net/getLiveWeatherRSS.aspx?ACode=A1111111111&lat=55.73&long=-14.36
Input Parameters:
ACode (required)
Lat (required) [min:-90 max:90] (with 2 digits right to the decimal point)
Long (required) [min:-180 max:180] (with 2 digits right to the decimal point)
Unittype (optional)
Definition of API terms
Description:
Returns concise live weather conditions for the chosen location.
The StationId Call Format allows searching weather conditions for multiple stations (up to 5). Separate the station ids with a comma; no blank space.
Call Format: http://<apicode>.api.wxbug.net/getLiveCompactWeatherRSS.aspx?ACode=<apicode>&stationid=<stationid>&unittype=
Single Station Example: http://A1111111111.api.wxbug.net/getLiveCompactWeatherRSS?ACode=A11111111111&stationid=awshq
Multiple Stations Example: http://A1111111111.api.wxbug.net/getLiveCompactWeatherRSS?ACode=A11111111111&stationid=awshq,vomm
Input Parameters:
ACode (required)
Stationid (required)
Unittype (optional)
Definition of API terms |
Find stationid by zipcode |
Find stationid by citycode
Call Format: http://<apicode>.api.wxbug.net/getLiveCompactWeatherRSS.aspx?ACode=<apicode>&zipCode=<zipcode>&unittype=
Example: http://A1111111111.api.wxbug.net/getLiveCompactWeatherRSS.aspx?ACode=A11111111111&zipCode=64732
Input Parameters:
ACode (required)
ZipCode (required)
Unittype (optional)
Definition of API terms |
Find zipcode by cityname
Call Format: http://<apicode>.api.wxbug.net/getLiveCompactWeatherRSS.aspx?ACode=<apicode>&cityCode=<citycode>&unittype=
Example: http://A1111111111.api.wxbug.net/getLiveCompactWeatherRSS.aspx?ACode=A1111111111&cityCode=14390
Input Parameters:
ACode (required)
CityCode (required)
Unittype (optional)
Definition of API terms |
Find citycode by cityname
Call Format: http://<apicode>.api.wxbug.net/getLiveCompactWeatherRSS.aspx?ACode=<apicode>&lat=<latitude>&long=<longitude>&unittype=
Example: http://A1111111111.api.wxbug.net/getLiveCompactWeatherRSS.aspx?ACode=A1111111111&lat=55.73&long=-14.36
Input Parameters:
ACode (required)
Lat (required) [min:-90 max:90] (with 2 digits right to the decimal point)
Long (required) [min:-180 max:180] (with 2 digits right to the decimal point)
Unittype (optional)
Definition of API terms
A) Description:
Returns the 7-day forecast for a zipcode/citycode or (latitude,longitude) input.
Call Format: http://<apicode>.api.wxbug.net/getForecastRSS.aspx?ACode=<apicode>&zipCode=<zipcode>&unittype=
Example: http://A1111111111.api.wxbug.net/getForecastRSS.aspx?ACode=A11111111111&zipCode=64732
Input Parameters:
ACode (required)
ZipCode (required)
Unittype (optional)
Definition of API terms |
Find zipcode by cityname
Call Format: http://<apicode>.api.wxbug.net/getForecastRSS.aspx?ACode=<apicode>&cityCode=<citycode>&unittype=
Example: http://A1111111111.api.wxbug.net/getForecastRSS.aspx?ACode=A11111111111cityCode=14390
Input Parameters:
ACode (required)
CityCode (required)
Unittype (optional)
Definition of API terms |
Find citycode by cityname
Call Format: http://<apicode>.api.wxbug.net/getForecastRSS.aspx?ACode=<apicode>&lat=<latitude>&long=<longitude>&unittype=
Example: http://A1111111111.api.wxbug.net/getForecastRSS.aspx?ACode=A11111111111&lat=55.73&long=-14.36
Input Parameters:
ACode (required)
Lat (required) [min:-90 max:90] (with 2 digits right to the decimal point)
Long (required) [min:-180 max:180] (with 2 digits right to the decimal point)
Unittype (optional)
Definition of API terms
Description:
For a given zipcode or (latitude,longitude), this call returns a list of available weather cameras.
Call Format: http://<apicode>.api.wxbug.net/getCamerasXML.aspx?ACode=<apicode>&zipCode=<zipcode>&unittype=
Example: http://A1111111111.api.wxbug.net/getCamerasXML.aspx?ACode=A11111111111&zipCode=64732
Input Parameters:
ACode (required)
ZipCode (required)
Unittype (optional)
Definition of API terms |
Find zipcode by cityname
Call Format: http://<apicode>.api.wxbug.net/getCamerasXML.aspx?ACode=<apicode>&lat=<latitude>&long=<longitude>&unittype=
Example: http://A1111111111.api.wxbug.net/getCamerasXML.aspx?ACode=A11111111111&lat=55.73&long=-14.36
Input Parameters:
ACode (required)
Lat (required) [US Only] (with 2 digits right to the decimal point)
Long (required) [US Only] (with 2 digits right to the decimal point)
Unittype (optional)
Definition of API terms
Description:
Returns weather alert information for a given zipcode or (latitude,longitude).
Call Format: http://<apicode>.api.wxbug.net/getAlertsRSS.aspx?ACode=<apicode>&zipCode=<zipcode>&unittype=
Example: http://A1111111111.api.wxbug.net/getAlertsRSS.aspx?ACode=A11111111111&zipCode=64732
Input Parameters:
ACode (required)
ZipCode (required)
Unittype (optional)
Definition of API terms |
Find zipcode by cityname
Call Format: http://<apicode>.api.wxbug.net/getAlertsRSS.aspx?ACode=<apicode>&lat=<latitude>&long=<longitude>&unittype=
Example: http://A1111111111.api.wxbug.net/getAlertsRSS.aspx?ACode=A11111111111&lat=55.73&long=-14.36
Input Parameters:
ACode (required)
Lat (required) [US Only] (with 2 digits right to the decimal point)
Long (required) [US Only] (with 2 digits right to the decimal point)
Unittype (optional)
Definition of API terms