Lines Matching refs:to

10 The Google API Client Library enables you to work with Google APIs such as Gmail, Drive or YouTube …
40 Once composer is installed, execute the following command in your project root to install this libr…
46 Finally, be sure to include the autoloader:
49 require_once '/path/to/your-project/vendor/autoload.php';
52to-date API wrappers for a large number of Google APIs. In order that users may make use of the la…
57 want them all. In order to avoid shipping these dependencies with your code,
59 you want to keep in `composer.json`:
81 **IMPORTANT**: If you add any services back in `composer.json`, you will need to
83 change you made to have effect:
90 **NOTE**: This command performs an exact match on the service name, so to keep
91 `YouTubeReporting` and `YouTubeAnalytics` as well, you'd need to add each of
109 If you prefer not to use composer, you can download the package in its entirety. The [Releases](htt…
115 require_once '/path/to/google-api-php-client/vendor/autoload.php';
128 And then browsing to the host and port you specified
157 1. Follow the instructions to [Create Web Application Credentials](docs/oauth-web.md#create-authori…
159 1. Set the path to these credentials using `Google\Client::setAuthConfig`:
163 $client->setAuthConfig('/path/to/client_credentials.json');
166 1. Set the scopes required for the API you are going to call
176 // we redirect back to this same page
198 1. Follow the instructions to [Create a Service Account](docs/oauth-server.md#creating-a-service-ac…
200 1. Set the path to these credentials using the `GOOGLE_APPLICATION_CREDENTIALS` environment variabl…
203 putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json');
206 1. Tell the Google client to use your service account credentials to authenticate:
213 1. Set the scopes required for the API you are going to call
219 1. If you have delegated domain-wide access to the service account and you want to impersonate a us…
225 #### How to use a specific JSON key
227 If you want to a specific JSON key instead of using `GOOGLE_APPLICATION_CREDENTIALS` environment va…
240to call the API in [google-api-php-client-services](https://github.com/googleapis/google-api-php-c…
242 A JSON request to the [Datastore API](https://developers.google.com/apis-explorer/#p/datastore/v1be…
269 // build the query - this maps directly to the JSON
313 // add the query to the request and make the request
318 …it will be very difficult to use this library without first understanding the JSON syntax for the …
324 If you are installing this client only to authenticate your own HTTP client requests, you should us…
349to use another caching library to improve performance. This can be done by passing a [PSR-6](http…
363 In this example we use [PHP Cache](http://www.php-cache.com/). Add this to your project with compos…
371 …unt#overview), it may be useful to perform some action when a new access token is granted. To do t…
383 It is often very useful to debug your API calls by viewing the raw HTTP request. This library suppo…
398 One additional step is required in Charles to view SSL requests. Go to **Charles > Proxy > SSL Prox…
404 Let's say, for instance, we wished to apply a referrer to each request.
427 …e information. In particular, we love pull requests - but please make sure to sign the contributor…
433 For support with the library the best place to ask is via the google-api-php-client tag on StackOve…
435 …I specific: for those, refer to the documentation for the individual APIs for the best place to fi…
439to go is to the teams for those specific APIs - our preference is to link to their examples rather…
443 …https://developers.google.com/discovery/. Sometimes new features are added to APIs with unusual na…
447 …est a JSON response by adding an 'alt' argument to optional params that is normally the last argum…
455 ### How do I set a field to null? ###
457 … sent to the Google APIs as it is the default value of all of the uninitialized properties. To wor…
461 Run the PHPUnit tests with PHPUnit. You can configure an API key and token in BaseTest.php to run a…