To read events from your public Google Calendars you’ll need create a Google API key and save within your plugin settings.
You’ll need the Google Calendar Pro add-on to read events from both private and public calendars and additional display features such as event colors, attendees and attachments.
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.
3Give your project a name, agree to the terms, then click Create.
4From the Google Developers Console Dashboard select Enable API. If you don’t see this, select API Manager from the top-left “hamburger” menu.
5Under Google Apps APIs, select Calendar API. Then click Click Enable.
6Before you can create an API key under the Credentials tab, you will need to configure your oAuth consent screen:
7Set User Type to External and click Create.
8Enter an App name (not important), User support Email, and Developer Support Email, then click Save and Continue.
9Select 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.
10On the API key created popup, select and copy (Cmd-C or Ctrl-C) your newly created API key.
11Now 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.
In case of any error or problem, you may try obtaining a new Google API key by repeating the steps above before contacting support. You can generate more than one API key under the same project on Google Developers Console.