Skip to content

Commit 20e89bb

Browse files
mbrukmanTakashi Matsuo
authored and
Takashi Matsuo
committed
Fix link to google-api-php-client repo [skip ci] (GoogleCloudPlatform#526)
Additional minor fixes: * used Markdown formatting to put links behind text for readability * used code formatting for placeholder variable names * fixed heading for consistency * removed trailing whitespace
1 parent 5aed951 commit 20e89bb

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

compute/helloworld/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
This is a simple web-based example of calling the Google Compute Engine API
55
in PHP.
66

7-
## Prerequisites:
7+
## Prerequisites
88
Please make sure that all of the following is installed before trying to run
99
the sample application.
1010

11-
- PHP 5.2.x or higher [http://www.php.net/]
12-
- PHP Curl extension [http://www.php.net/manual/en/intro.curl.php]
13-
- PHP JSON extension [http://php.net/manual/en/book.json.php]
14-
- The google-api-php-client library checked out locally
15-
[https://code.google.com/p/google-api-php-client/]
11+
- [PHP 5.2.x or higher](http://www.php.net/)
12+
- [PHP Curl extension](http://www.php.net/manual/en/intro.curl.php)
13+
- [PHP JSON extension](http://php.net/manual/en/book.json.php)
14+
- The [`google-api-php-client`](https://github.com/google/google-api-php-client)
15+
library checked out locally
1616

1717
## Setup Authentication
1818
NOTE: This README assumes that you have enabled access to the Google Compute
@@ -22,7 +22,7 @@ Engine API via the Google API Console page.
2222
application.
2323
- Click on "API Access" in the left column
2424
- Click the button labeled "Create an OAuth2 client ID..." if you have not
25-
generated any client IDs, or "Create another client ID..." if you have
25+
generated any client IDs, or "Create another client ID..." if you have
2626
- Give your application a name and click "Next"
2727
- Select "Web Application" as the "Application type"
2828
- Click "Create client ID"
@@ -33,12 +33,12 @@ generated any client IDs, or "Create another client ID..." if you have
3333

3434
2) Update app.php with the redirect uri, consumer key, secret, and Project ID
3535
obtained in step 1.
36-
- Update 'YOUR_CLIENT_ID' with your oauth2 client id.
37-
- Update 'YOUR_CLIENT_SECRET' with your oauth2 client secret.
38-
- Update 'YOUR_REDIRECT_URI' with the fully qualified
39-
redirect URI.
40-
- Update 'YOUR_GOOGLE_COMPUTE_ENGINE_PROJECT' with your Project ID from the
41-
API Console.
36+
- Update `YOUR_CLIENT_ID` with your oauth2 client id.
37+
- Update `YOUR_CLIENT_SECRET` with your oauth2 client secret.
38+
- Update `YOUR_REDIRECT_URI` with the fully qualified
39+
redirect URI.
40+
- Update `YOUR_GOOGLE_COMPUTE_ENGINE_PROJECT` with your Project ID from the
41+
API Console.
4242

4343
## Running the Sample Application
4444
3) Load app.php on your web server, and visit the appropriate website in

0 commit comments

Comments
 (0)