How to use sessions of Online Accounts

Hi guys!
I have connected Google using Gnome Online Accounts. Now I want to create simple Gnome extension for gDrive, so how I can to use already created google session?

Hi!
You could look at gnome-online-miners which already has code to integrate with Google Drive, via libgdata.

so how it help me to get access to session in my gnome shell extension?

It’s just an example of using Google Drive from code via Gnome Online Accounts. I can’t remember exactly how it works to explain it here.