创建Google API Key, Creating a Google API Key

To read events from your public Google Calendars you’ll need create a Google API key and save within your plugin settings.

Here are step-by-step instructions to create and save a Google API key:

1Navigate to the Google Developers Console.

2 From the top Project menu select Create project.

创建Google API Key, Creating a Google API Key
创建Google API Key, Creating a Google API Key

3Give your project a name, agree to the terms, then click Create.

创建Google API Key, Creating a Google API Key
创建Google API Key, Creating a Google API Key

4From the Google Developers Console Dashboard select Enable API. If you don’t see this, select API Manager from the top-left “hamburger” menu.

创建Google API Key, Creating a Google API Key
创建Google API Key, Creating a Google API Key

5Under Google Apps APIs, select Calendar API. Then click Click Enable.

创建Google API Key, Creating a Google API Key
创建Google API Key, Creating a Google API Key
创建Google API Key, Creating a Google API Key
创建Google API Key, Creating a Google API Key

6Select Credentials under API Manager in the left-hand menu, click Create credentials, then select API key. You can get to the same result using the “Go to Credentials” button, but the screens you’re taken through are a bit different.

创建Google API Key, Creating a Google API Key
创建Google API Key, Creating a Google API Key

7On the API key created popup, select and copy (Cmd-C or Ctrl-C) your newly created API key.

创建Google API Key, Creating a Google API Key
创建Google API Key, Creating a Google API Key

8Now back on your WordPress dashboard, go to Calendars, then Settings from the menu. Enter your Google API key here, making sure you have pasted the exact key without extra spaces. Then click Save Changes.

创建Google API Key, Creating a Google API Key
创建Google API Key, Creating a Google API Key

 

本文:创建Google API Key, Creating a Google API Key

One Comment

Leave a Reply