help me in editing the code - esp8266, google sheets,HTTPS, arduino uno reg.

plz help me in editing the code given in any two links below:

what I need is:

the above two codes in that links will send sensor data from nodemcu esp8266 to google sheets using https redirect library.

i want help from you, to edit that following nodemcu code to detect any serial data coming from Arduino Uno through serial pins Tx, RX and send it to google sheets.

someone plz help