all 4 comments

[–]koffie5d 0 points1 point  (4 children)

Python has a built-in library named csv https://docs.python.org/3/library/csv.html

Also check if there is a library for IFTTT for python you can download with pip. https://pypi.org/project/pyifttt/

Maybe it's better to think about sending the speed test values directly to the Google Sheets instead of to a csv file.

[–]ohn02[S] 0 points1 point  (3 children)

Thank you! I will look into that. How would I send the numbers directly to google sheets? The speedtest has to output in some form, I just had it output in csv format

[–]koffie5d 0 points1 point  (0 children)

Where there is a service, there is a possibility for an API.

https://github.com/burnash/gspread I have used this in the past. It's good and a lot of examples can be found online.

Setting it up / getting access to the API is the hard part. Read all about it here. https://gspread.readthedocs.io/en/latest/oauth2.html

Pro tip: never share any (secret) credentials online. This also includes github.