MeteoStone's Weather API
Method: meteostone.setLocationWeather
Set weather data for location.
Comments: You should set at least one data parameter.
Arguments
apikey
Your API application key. See here for more details.
method
Should be set to "meteostone.setLocationWeather".
location_id
Location ID. Location must exist.
Data parameters:
weather_flag
Weather flag.
1 - Sunny
2 - Wind
3 - Cloudy
4 - Rain
5 - Hailing
6 - Thunderstorm
7 - Snow
8 - Fog
effect_flag
Weather Effect flag.
1001 - EarthQuake
1002 - Tornado
1003 - Tsunami
1004 - Volcano
1005 - Storm
1006 - Flood
disaster_flag
Disaster flag.
2001 - Rainbow
2002 - Sun Eclipse
2003 - Moon Eclipse
2004 - Polar Lights
2005 - Halo
temperature
Temperature data. Must be in 0C units. Type of data: float.
pressure
Pressure data. Must be in millibar (mb) units. Type of data: int.
humidity
Humodity data. Must be in % units. Type of data: int.
daily_rainfall
Daily rainfall. Must be in mm units. Type of data: int.
wind
Wind direction. Must be in degrees units (from 0 - Nord to 360). Type of data: int.
wind_speed
Wind speed. Must be in m/sec units. Type of data: int.
Example request (short)
http://meteostone.com/service/?apikey=dd1d9c36d04fdae9a56033e715ee6977& method=meteostone.setLocationWeather& login=mikedin3&password=d9b1d7db4cd6e70935368a1efb10e377&location_id=229&weather_flag=4&temperature=14
Another example request (full)
http://meteostone.com/service/?apikey=dd1d9c36d04fdae9a56033e715ee6977& method=meteostone.setLocationWeather& login=mikedin3&password=d9b1d7db4cd6e70935368a1efb10e377&location_id=229& weather_flag=4&temperature=14&pressure=16&humidity=90&daily_rainfall=10&wind=0&wind_speed=10
Example response
<mst status="ok"/>

