Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

REST API #11

Open
stvhanna opened this issue Mar 30, 2020 · 1 comment
Open

REST API #11

stvhanna opened this issue Mar 30, 2020 · 1 comment

Comments

@stvhanna
Copy link

stvhanna commented Mar 30, 2020

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"
    }
}
@e7d
Copy link
Owner

e7d commented Apr 27, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants