lundi 25 février 2019

Read the word document content from google drive

I am trying fetch content from google drive. i have used google sdk. problem is i used get() function for the retrieve the content. but it give only file metadata not any actual content. Please anyone help me on this?

$googl = new Googl(); 
    $this->client = $googl->client();
    $this->client->setAccessToken(session('user.token'));
    $this->drive = $googl->drive($this->client);

$file = $this->drive->files->get("fileId"); 
return $file;

please help me on this.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire