speedtest icon indicating copy to clipboard operation
speedtest copied to clipboard

REST API

Open stvhanna opened this issue 4 years ago • 1 comments

Hi @e7d Thanks for creating a great tool! It works better and faster than any other solution that I've tried. It will be awesome to have make an API call using async JS and wait for the promise to resolve with the speed test results. Any plans to add a REST API?

GET: API/getSpeedTest

{
    "timestamp": 1585599313554,
    "latency": {
        "avg": 2.28
    },
    "jitter": "0.81",
    "download": {
        "speed": 185743917.45
    },
    "upload": {
        "speed": 176314401.3
    },
    "ipInfo": {
        "ip": "172.17.0.1"
    }
}

stvhanna avatar Mar 30 '20 20:03 stvhanna

Hello @stvhanna,

To be honnest, I have no plan to do such thing as an API at the moment, but this is a great idea. I'll pin it as "enhancement", as I may find the idea more appealing later.

e7d avatar Apr 27 '20 07:04 e7d