I try to download via API using a bash script.
The raw downloaded data using “https://data.uradmonitor.com/api/v1/devices/82000071/all/30” gives the following json data:
[{“time”:”1499011173″,”latitude”:”46.94326000″,”longitude”:”7.47333500″,”altitude”:”565.00″,”temperature”:20.53,”pressure”
:”95920″,”humidity”:68.62,”voc”:”80245″,”co2″:”431″,”ch2o”:”0.01″,”pm25″:”3″,”noise”:null,”cpm”:”22″,”voltage”:”383″,”duty
“:”204”}]
I noticed that “temperature” and “humidity” values appear without quotes (i.e.20.53 and 68.62) whereas all other fields have the values between quotes (i.e.”95920″ for “pressure”). What is the reason for this?