Page 1 of 1

Get internet speed data from Speedtest.net

Posted: Thu Sep 10, 2020 6:47 pm
by olmak
Hi , all! I have such a need for regular automatic testing of Internet speed (and I think not only for me).
Perhaps someone has implemented or knows how to implement reading speed data through a request
to the site speedtest.net. If you just execute such a piece of code, I don't find any useful information other than isp there

Code: Select all

InitNetwork()

  HttpRequest = HTTPRequestMemory(#PB_HTTP_Get, "https://www.speedtest.net/run#")
  If HttpRequest
    Debug "StatusCode: " + HTTPInfo(HTTPRequest, #PB_HTTP_StatusCode)
    Debug "Response: " + HTTPInfo(HTTPRequest, #PB_HTTP_Response)
    
    FinishHTTP(HTTPRequest)
  Else
    Debug "Ошибка создания запроса"
  EndIf
Maybe someone
help with this issue?