How to write data into Google Spreadsheets

Please reply as soon as possible.

The easiest way is to use the Google Sheets API activities found here:

You do have to sign up for an account with Google.

How to use Google Sheet API