fast-speedtest-api
fast-speedtest-api copied to clipboard
Latency and Upload speed?
Have you considered updating the package to allow options as to which statistic(s) to return, e.g.,
speedtest.getStats({ statistics: [ 'download', 'upload', 'latency' ]}).then(stats => {
// examine stats.download, stats.upload, stats.latency, all in stats.unit
}).catch(e => { console.error(e.message); });
just a thought, thanks!
I would add this kind of features when I have time. Feel free to submit pull requests.
Thanks for paying attention to my project!
thank you!
ps: in case you're wondering, i'd like to make a homebridge plugin that reports the three values. there is an existing plugin -- https://github.com/SeydX/homebridge-broadband -- but it uses the speedtest.net platform...
just fyi: https://github.com/homespun/homebridge-accessory-bandwidth-quality
I believe it is very important to have the upload test as well.
@branchard I'd really like to see this happen and would be happy to work on a PR on this. Any hints? It looks like you've reverse engineered the fast.com client.