Feb 10, 2020
2
Level 4
Google api php credentials file with Vapor
Hello,
I use Vapor for my applications, and i want to use google API (Gmail one).
In the doc, they ask to use the path of the JSON credentials to access the API.
Like this: client->setAuthConfig('/path/to/client_credentials.json');
But as I can't give the path on vapor, how can I manage this ?
Here is the link for the Package: https://packagist.org/packages/google/apiclient
And a laravel wrapper : https://github.com/pulkitjalan/google-apiclient
Thank you for your help :)
Please or to participate in this conversation.