am 048895b5
: Merge "Doc update: update console instructions per new UI." into klp-docs
* commit '048895b5a0532fef394a4a3f07af737f8d733335': Doc update: update console instructions per new UI.
This commit is contained in:
@ -36,7 +36,7 @@ the Google Play Services SDK</a>. You need this SDK to use the
|
||||
<h2 id="create-proj">Creating a Google API project</h2>
|
||||
<p>To create a Google API project:</p>
|
||||
<ol>
|
||||
<li>Open the <a href="https://cloud.google.com/console">Google Cloud Console</a>.
|
||||
<li>Open the <a href="https://cloud.google.com/console">Google Developers Console</a>.
|
||||
</li>
|
||||
<li>If you haven't created an API project yet, click <strong>Create Project</strong>.</li>
|
||||
|
||||
@ -60,25 +60,27 @@ project number. For example, <strong>Project Number: 670330094152</strong>.</p><
|
||||
<h2 id="access-key">Obtaining an API Key</h2>
|
||||
<p>To obtain an API key:</p>
|
||||
<ol>
|
||||
<li>In the sidebar on the left, select <strong>APIs & auth > Registered apps</strong>.</li>
|
||||
<li>Click <strong>Register app</strong>. </li>
|
||||
<li>In the sidebar on the left, select <strong>APIs & auth > Credentials</strong>.</li>
|
||||
|
||||
<li>In the <strong>Name</strong> field, type your app's name.</li>
|
||||
<li>Click <strong>Android > Accessing APIs directly from Android</strong>.</li>
|
||||
<li>Under <strong>Android identification</strong>, type the package name for your app.</li>
|
||||
<li>Enter an SHA1 fingerprint. To get this value, follow the instructions in the
|
||||
<li>Under <strong>Public API access</strong>, click <strong>Create new key</strong>.</li>
|
||||
|
||||
<li>In the <strong>Create a new key</strong> dialog, click <strong>Android key</strong>.</li>
|
||||
|
||||
<li>In the resulting configuration dialog, supply one SHA1 fingerprint and
|
||||
the package name for your app, separated by a semicolon. For example,
|
||||
{@code 45:B5:E4:6F:36:AD:0A:98:94:B4:02:66:2B:12:17:F2:56:26:A0:E0;com.myexample}.
|
||||
<p>To get the value for the SHA1 fingerprint, follow the instructions in the
|
||||
<a href="http://developers.google.com/console/help/new/#installedapplications">console
|
||||
help</a>.</li>
|
||||
<li>Click <strong>Register</strong>.</li>
|
||||
help</a>.</p></li>
|
||||
<li>Click <strong>Create</strong>.</li>
|
||||
|
||||
<li>In the new page, open the <strong>Android Key</strong> section and copy the
|
||||
<li>In the refreshed page, copy the
|
||||
<a href="{@docRoot}google/gcm/gcm.html#apikey">API key</a>.
|
||||
You will need the API key later on to perform authentication in your application server.</li>
|
||||
|
||||
<p class="note"><strong>Note:</strong> If you need to rotate the key, click
|
||||
the "recycle key" icon. A new key will be created. If you think the key has been compromised
|
||||
and you want to delete it immediately, you can accomplish this by deleting the app from
|
||||
the console. Then create a new entry for the app with the same SHA1 and package name.</p>
|
||||
<strong>Regenerate key</strong>. A new key will be created. If you think the key has been
|
||||
compromised and you want to delete it immediately, click <strong>Delete</strong>.</p>
|
||||
</ol>
|
||||
|
||||
<h2 id="next">Next Steps</h2>
|
||||
|
@ -58,7 +58,7 @@ made with In-app Billing v1 or v2.</li>
|
||||
|
||||
<p>The Purchase Status API is part of the <a
|
||||
href="https://developers.google.com/android-publisher/v1_1/">Google Play Android
|
||||
Developer API v1.1</a>, available through the Google Cloud Console. The new version
|
||||
Developer API v1.1</a>, available through the Google Developers Console. The new version
|
||||
of the API supersedes the v1 API, which is deprecated. If you are using the v1
|
||||
API, please migrate your operations to the v1.1 API as soon as possible.</p>
|
||||
|
||||
@ -66,7 +66,7 @@ API, please migrate your operations to the v1.1 API as soon as possible.</p>
|
||||
<h2 id="using">Using the API</h2>
|
||||
|
||||
<p>To use the API, you must first register a project at the <a
|
||||
href="https://cloud.google.com/console">Google Cloud Console</a> and receive
|
||||
href="https://cloud.google.com/console">Google Developers Console</a> and receive
|
||||
a Client ID and shared secret that your app will present when calling the
|
||||
API. All calls are authenticated with OAuth 2.0.</p>
|
||||
|
||||
@ -95,7 +95,8 @@ this section.</p>
|
||||
|
||||
<p>If you need to request a higher limit for your application, see the
|
||||
instructions in the <a
|
||||
href="https://developers.google.com/console/help/new/#trafficcontrols">Google Cloud Console Help</a>.
|
||||
href="https://developers.google.com/console/help/new/#trafficcontrols">Google Developers
|
||||
Console Help</a>.
|
||||
Also, please read the section below on design best practices for minimizing your
|
||||
use of the API.</p>
|
||||
|
||||
|
Reference in New Issue
Block a user