Hi Amo,

Tks for your information. However, Adafruit's Raspberry Pi temperature log 
code does not meet my case. My application is "Web application", not 
"Service account" type, so i do not use Json file for constructing 
credentials & Authorization.

My workflow is not the same with Adafruit also. Tks for your kind again, 
Amo!

On Wednesday, May 20, 2015 at 6:48:31 AM UTC+7, electronicsguy wrote:
>
> Hi,
>    I had the same problem. Use Adafruit's Raspberry Pi temperature log 
> code as a reference. Follow the steps exactly and you'll be able to setup 
> the developer API, get the JSON auth file, and then use gspread to 
> authenticate using OAuth 2.0
>
> Adafruit-google 
> <https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/connecting-to-googles-docs-updated>
>
> After that, you can replace gspread and use Java.
> Hope this helps.
>
> Amol
>
> On Tuesday, May 19, 2015 at 12:11:28 AM UTC-4, Nguyen wrote:
>>
>> My application used OAuth 1.0 to export data to google docs correctly; 
>> However, Google now no longer supports OAuth 1.0 => 
>> https://support.google.com/a/answer/6224347?p=oauth&rd=1.
>>
>> I have been looking for OAuth 2.0 sample codes to solve this issue. I've 
>> found this page: 
>> https://developers.google.com/google-apps/spreadsheets/#authorizing_requests_with_oauth_20,
>>  but 
>> there is no Java example code. Could someone help me with this? I 
>> appreciate so much.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to