Get internet speed data from Speedtest.net

Just starting out? Need help? Post your questions and find answers here.
olmak
User
User
Posts: 14
Joined: Thu Aug 11, 2016 4:00 am

Get internet speed data from Speedtest.net

Post 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?