How to get contact list from gmail account in Yii framework 2.0

I have already created a google app. I want to get contact list from gmail account for my Yii 2.0 website. I've seen two interesting classes that Yii 2.0 provides:

 yii\authclient\clients\GoogleOAuth
 yii\authclient\clients\GoogleOpenId

      

Can the above classes be used to get a contact list from a gmail account? If so, how to implement it, because there is no example code in the Yii 2.0 docs for using these classes. If not, does anyone know of a good tutorial for achieving this? I am working with Yii 2.0 framework

+3


source to share





All Articles