api google sheets

281 views
Skip to first unread message

fdaniele

unread,
Dec 30, 2021, 5:07:07 AM12/30/21
to Harbour Users
Good morning and happy new year.

someone knows how we can read/write a google sheets ?

via api? someone have experiences? 

thanks 
Daniele

fdaniele

unread,
Jan 1, 2022, 7:30:17 PM1/1/22
to Harbour Users
No one?

Rafa Pabd

unread,
Jan 3, 2022, 12:18:10 PM1/3/22
to Harbour Users

Rafa Pabd

unread,
Jan 3, 2022, 3:46:56 PM1/3/22
to Harbour Users
Google Libs author is Mr. Cristóbal Navarro
Message has been deleted
Message has been deleted
Message has been deleted

jparada

unread,
Jan 4, 2022, 8:59:51 PM1/4/22
to Harbour Users
Hi,

I was doing some testing and had success write in a google spreadsheet, based on this article
https://www.jhanley.com/google-oauth-2-0-testing-with-curl-version-2/

but I had to mix things up with harbour and python

I attach the example that worked for me, I hope it can be useful or give you an idea, in any case if you or someone else
can improve the example or make it work without python I hope you can share.

spreadsheetID refers to the id of the google spreadsheet.
Hoja1!A1 refers to the name of the google spreadsheet and A1 to the range

rename  google.txt to google.zip then c.txt to c.bat, g.txt to google.prg 

Regards,
Javier

google.txt

fdaniele

unread,
Jan 4, 2022, 11:11:02 PM1/4/22
to Harbour Users
thanks mr. jparada
very nice code
happy new year

Regards
Daniele

fdaniele

unread,
Aug 21, 2022, 6:24:16 AM8/21/22
to Harbour Users
Hi  mr. jparada, Hi all

i found an exe from windows cli and linux for copy files from/to gmail


works vey well, i hope is usefull to someone

regards

fdaniele

unread,
Mar 30, 2023, 9:58:29 AM3/30/23
to Harbour Users

Dear mr.  Javier, i not forget my promise

some days ago master Linares has publisced a project for use python with harbour (!) (but maybe you already know)

I wanted to let you know, if I can read the google sheets I will inform you :-)

regards and always thanks

Daniele


Il giorno mercoledì 5 gennaio 2022 alle 02:59:51 UTC+1 jparada ha scritto:
Reply all
Reply to author
Forward
0 new messages