Holfuy Weather Report API V4.1


s: station(s) ID e.g. s=101 or you can get the data from more stations by one query as well (coma separated list) e.g. s=101,102,103 . If you would get all stations' data (to which you have access) by one single API call please use the "all" string -> s=all .
pw: password for the API access (it could be sent by a POST "pw" parameter also)
m:mode XML or CSV or JSON default: CSV
avg:averaging "0": newest data from the station, "1" newest quarter hourly average, "2" newest hourly average (default = 0)
su: wind speed unit: knots, km/h, m/s, mph, default: m/s
tu: temperature unit C:Celsius , F: Fahrenheit default: Celsius
batt: add this parameter to get the station's battery voltage (JSON only).
cam: add this parameter to the URL for timestamp of the last picture from the camera. (JSON only, only for stations with a camera)
daily: add this parameter to get daily Max-Min temperatures and precipitation since last midnight CE(S)T (JSON only, max 5 stations)
loc: add this parameter to the URL to get the station's location in reply too (JSON only)
utc: add this parameter to the URL for timestamps in UTC, otherwise times will be in CE(S)T
Data: DateTime: time of the last data / average in ".date('T')." (Central European Time) or in UTC if utc param is set.

JSON: http://api.holfuy.com/live/?s=101&pw=pass&m=JSON&tu=C&su=m/s (Check the source file at your browser for this output)
CSV: http://api.holfuy.com/live/?s=101&pw=pass&m=CSV&tu=C&su=km/h
Output: ID,name,date,time,speed,gust,speed unit, direction, temp, temp unit[, humidity (%)][,pressure (hPa, standard)][,light (0-1000 custom scale)][,rain (mm)][,2nd Temperature sensor][,solar radiation W/m^2][,soil moisture %]
XML: http://api.holfuy.com/live/?s=101&pw=pass&m=XML&tu=C&su=m/s (Check the source file at your browser for this output)
By using Holfuy's API services you confirm that you have read and agree to Holfuy's Terms and Conditions.
Revision history: