Skip to content

Commit

Permalink
docs: Update links in README to point to new docs living inside repo (#…
Browse files Browse the repository at this point in the history
…1670)

* docs: Update links in README to point to new docs living inside repo

* docs: use correct link
  • Loading branch information
dwsupplee committed Jun 20, 2019
1 parent f449f53 commit a8a4d81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -50,7 +50,7 @@ Uncompress the zip file you download, and include the autoloader in your project
require_once '/path/to/google-api-php-client/vendor/autoload.php';
```

For additional installation and setup instructions, see [the documentation](https://developers.google.com/api-client-library/php/start/installation).
For additional installation and setup instructions, see [the documentation](docs/).

## Examples ##
See the [`examples/`](examples) directory for examples of the key client features. You can
Expand Down Expand Up @@ -86,7 +86,7 @@ foreach ($results as $item) {

> An example of this can be seen in [`examples/simple-file-upload.php`](examples/simple-file-upload.php).
1. Follow the instructions to [Create Web Application Credentials](https://developers.google.com/api-client-library/php/auth/web-app#creatingcred)
1. Follow the instructions to [Create Web Application Credentials](docs/oauth-web.md#create-authorization-credentials)
1. Download the JSON credentials
1. Set the path to these credentials using `Google_Client::setAuthConfig`:

Expand Down Expand Up @@ -127,7 +127,7 @@ Some APIs
not support service accounts. Check with the specific API documentation if API
calls return unexpected 401 or 403 errors.

1. Follow the instructions to [Create a Service Account](https://developers.google.com/api-client-library/php/auth/service-accounts#creatinganaccount)
1. Follow the instructions to [Create a Service Account](docs/oauth-server.md#creating-a-service-account)
1. Download the JSON credentials
1. Set the path to these credentials using the `GOOGLE_APPLICATION_CREDENTIALS` environment variable:

Expand Down Expand Up @@ -341,7 +341,7 @@ YouTube: https://github.com/youtube/api-samples/tree/master/php

## How Do I Contribute? ##

Please see the [contributing](.github/CONTRIBUTING.md) page for more information. In particular, we love pull requests - but please make sure to sign the [contributor license agreement](https://developers.google.com/api-client-library/php/contribute).
Please see the [contributing](.github/CONTRIBUTING.md) page for more information. In particular, we love pull requests - but please make sure to sign the contributor license agreement.

## Frequently Asked Questions ##

Expand Down
4 changes: 2 additions & 2 deletions docs/oauth-server.md
Expand Up @@ -94,7 +94,7 @@ Use the authorized `Google_Client` object to call Google APIs by completing the
$sqladmin = new Google_Service_SQLAdmin($client);
```

2. Make requests to the API service using the [interface provided by the service object](https://developers.google.com/api-client-library/php/start/get_started#build). For example, to list the instances of Cloud SQL databases in the examinable-example-123 project:
2. Make requests to the API service using the [interface provided by the service object](https://github.com/googleapis/google-api-php-client/blob/master/docs/start.md#build-the-service-object). For example, to list the instances of Cloud SQL databases in the examinable-example-123 project:

```php
$response = $sqladmin->instances->listInstances('examinable-example-123')->getItems();
Expand Down Expand Up @@ -141,4 +141,4 @@ $sqladmin = new Google_Service_SQLAdmin($client);
$response = $sqladmin->instances
->listInstances('examinable-example-123')->getItems();
echo json_encode($response) . "\n";
```
```

0 comments on commit a8a4d81

Please sign in to comment.