Currently, the library only supports getting AVERAGE. It should be able to get MIN, MAX and LAST as well.
I imagine the current fetch(from, to, callback) could be changed to fetch(type, from, to, callback) (and possibly shortcuts like fetchAvg(from, to, callback) if you're into that sort of thing).
Currently, the library only supports getting
AVERAGE. It should be able to getMIN,MAXandLASTas well.I imagine the current
fetch(from, to, callback)could be changed tofetch(type, from, to, callback)(and possibly shortcuts likefetchAvg(from, to, callback)if you're into that sort of thing).