Repository navigation
FoxEss historical raw cloud data are sometimes not up-to-date. Partly the last few hours have been missing there. It seems that this problem has been fixed for now (as of 19. Nov 2024) by FoxEss. I ran into an issue because of this problem, because I used to use the latest (now - 10 minutes) historical raw data as "realtime" data in another project. In the past this worked perfectly fine (99.9%), but now I changed to use the real "realtime" data instead as a much more reliable source. Therefore I enhanced the corresponding functionality a bit in regards of unified handling of API result data. Furthermore, I did some small enhancements and some error fixing.
- CloudApi->getRealTime() (optionally) enabled to return array in same structure as getRaw() to enable compatibility to ResultDataTable iterator and formatting functionality.
- ResultDataTable->column() returns now value and unit as a sub array. { variable: value } is now { variable: { value: value, unit: unit }}
- Variable->name() is now Variable->varName()
- added Variable->descr()
- enhanced error handling
- fixed error if value is not numeric
Full Changelog: v0.2.3...v0.2.4