google-api-php-client
google-api-php-client copied to clipboard
A PHP client library for accessing Google APIs
## Issue with Namespacing Google Libraries in WordPress Plugin ### Description Before using namespaces by php-scoper to `google/apiclient`, `google/analytics-admin`, `google/analytics-data`, all the functionality worked fine. Still, to avoid conflicts of...
Hello, I want to use the "large_file_upload" code in the URL below to upload a directory containing sub-directories and files. https://github.com/googleapis/google-api-php-client/blob/e70273c06d18824de77e114247ae3102f8aec64d/examples/large-file-upload.php#L4 The problem here is that the first file is...
$this->api_client_obj->addScope('https://www.googleapis.com/auth/androidpublisher'); $service = new Google_Service_AndroidPublisher($this->api_client_obj); $body = new Google_Service_AndroidPublisher_InAppProduct(); $body->setSku($data['sku']); $body->setPackageName($data['packageName']); $body->setStatus($data['status']); $body->setPurchaseType($data['purchaseType']); // $1.00 USD = 1,000,000 Microns. $price = new Google_Service_AndroidPublisher_Price(); $price->setCurrency('INR'); $price->setPriceMicros($data['defaultPrice']['priceMicros']); $body->setDefaultPrice($price); $body->setDefaultLanguage($dat['defaultLanguage']); $body->setListings([ 'en_US' =>...
This error causing the batch add requesting an `Psr\Http\Message\RequestInterface;`. But this is an error.
Hi team, I'm using your library to fetch reviews from Play Store and reply to them, however, **the getTokenPagination() function always return null**. I'm not sure which part I was...
We have installed the library using composer per the docs and have autoloaded. we cannot get past this error and cannot find a solution online as the library is installed....
we are integrating google sheet in our php(v8), laravel(v9) application and it was working fine untill we change the scope from `https://www.googleapis.com/auth/gmail.metadata` to `https://www.googleapis.com/auth/userinfo.email`. please help us to fix the...
Hello, i try using the API Wallet and i creqte the API key in console with domain restriction. But the code return me an error: `[{"message":"Login Required.","domain":"global","reason":"required","location":"Authorization","locationType":"header"}]` I use the...
Resolves https://github.com/googleapis/google-api-php-client-services/issues/4106