How to send to Google Spreadsheets

I would like to be able to send an API request from a local script to google sheets to add a value to a column. The problem is that I can’t find any resources on how to do this. That’s why I’m asking here.
Any help is greatly appreciated.

You should start by looking at the google sheets api.

(also local scripts cannot send http requests, you’d have to do it from the server)