Simple Python script to push speedtest results (using speedtest-cli
) to a Google Docs spreadsheet. I use this to measure and track my upload and download bandwith:
You can find an interactive demo (actually productive) version of the chart by clicking the image above.
- Google account
- Python 3.X
speedtest-cli
pygsheets
-
Clone and open repository:
git clone https://github.com/frdmn/google-speedtest-chart.git cd google-speedtest-chart
-
Install dependencies:
pip install -r requirements.txt
-
Symlink it into your
$PATH
:ln -s speedtest-charts.py /usr/local/bin/speedtest-to-google
-
Authorization
- 📖 Authorize pygsheets
- 📖 Create an OAuth token, download the credential file and and store it as
credentials.json
-
Create a spreadsheet dedicated to collect your speedtest results:
-
Run the script, you can pass a custom spreadsheet name by setting
SPREADSHEET
environment variable:SPREADSHEET="Speedtest-document" speedtest-to-google
1.5.0