JSON Speedtest Shortcut

Updated 09012022-031651


Social

I don't know if I'm gonna have time to finish the documentation/publish it tonight, but dang!! this is a good one. https://t.co/tsfqTOIel2 pic.twitter.com/TkUH7Cdlkp

— ⓓⓐⓥⓘⓓ ⓑⓛⓤⓔ (@NeoYokel) August 23, 2022

I don't know if I'm gonna have time to finish the documentation/publish it tonight, but dang!! this is a good one. https://davidblue.wtf/drafts/DBD6F212-D629-4D82-A734-664B8E045ABB.html


Comprehensively document/store detailed speedtest-cli data from a-Shell.

Requirements

JSON Speedtest Shortcut
JSON Speedtest Shortcut

This shortcut significantly expands your iPhone and/or iPad's effectiveness as a network testing platform simply by using speedtest.net's command line tool within a-Shell or a-Shell Mini.

JSON Speedtest Shortcut Result in Data Jar
JSON Speedtest Shortcut Result in Data Jar

By default, the shortcut will run the speedtest command with two options:

speedtest --json --share

--json specifies the output format and --share adds the optional preview image:

JSON Speedtest Preview Image Example
JSON Speedtest Preview Image Example

At installation, you'll be asked to specify a key path (jar) in Data Jar in which to store the JSON output as well as an iCloud Photos Album in which to store the generated preview images. Toolbox Pro is necessary only if you'd like fancy notifications shown with the results:

JSON Speedtest Notifications Transparent
JSON Speedtest Notifications Transparent

Contact


Video

Example Result

{
  "upload": 263367673.8773697,
  "ping": 8.712,
  "server": {
    "latency": 8.712,
    "country": "United States",
    "id": "17491",
    "d": 205.02413557210525,
    "lon": "-94.7336",
    "sponsor": "Consolidated Communications Inc",
    "host": "speedtest.kc2.mycci.net:8080",
    "lat": "38.9536",
    "cc": "US",
    "name": "Olathe, KS",
    "url": "http://speedtest.kc2.mycci.net:8080/speedtest/upload.php"
  },
  "bytes_received": 249102723,
  "download": 199101061.14220494,
  "client": {
    "rating": "0",
    "ispulavg": "0",
    "country": "US",
    "ispdlavg": "0",
    "lon": "-90.363",
    "loggedin": "0",
    "isprating": "3.7",
    "lat": "33.9336",
    "isp": "Socket Internet",
    "ip": "216.106.66.243"
  },
  "share": "http://www.speedtest.net/result/13575351989.png",
  "bytes_sent": 151519232,
  "timestamp": "2022-08-23T03:42:49.565200Z"
}