Bandwidth Test Script using SpeedTest.net CLI

Ideally I would like to get a reliable speed test result, so that I can dynamically configure a Transparent Traffic Shaper as in https://wiki.mikrotik.com/wiki/TransparentTrafficShaper

I have looked into topics http://forum.mikrotik.com/t/new-public-bandwith-test-server/127689/1 and http://forum.mikrotik.com/t/public-mikrotik-bandwidth-test-server-s-now-shutdown-as-of-april-1st-2025/94863/1 so far, but nothing about Speedtest.net CLI