Skip to content

Google API Key

Eliran Wong edited this page Jul 8, 2022 · 16 revisions

Introduction

Unique Bible App Desktop version support use of Google API Key for displaying Google Maps.

This is especially useful when users use menu plugin "Bible Locations" to display multiple bible locations on Google maps.

It is optional to get a Google Maps. Without an API key, created bible maps, which use Google Maps Platform, show marks "For development purposes only". It would be nice to get an API key to get rid of the marks.

Get a Google Maps API Key

Go to https://mapsplatform.google.com and click "Get Started".

At the time of writing this wiki page, Google offers $200 monthly usage credit for no charge:

get_200_ussage_montly_credit_for_free

The monthly usage credit should be enough for general use of UBA menu plugin "Bible Locations".

Configuration

After you created a Google Maps API key:

  1. Go to https://console.cloud.google.com/apis/dashboard
  2. Select "Credentials"
  3. Select "Show Key" at the right end of your newly created "Maps API Key"
  4. Copy your Maps API Key
Locate_maps_api_key

With UBA closed,

  1. Manually edit config.py
  2. Locate and edit myGoogleApiKey = ''
  3. Paste your Maps API Key INSIDE the quotation marks
  4. Save config.py

Setting Key Restrictions

To enhance security and protect your API key from being misuse, you may want to set up key restrictions.

Below shows steps to allow your Maps API key to be used with Unique Bible App desktop / webtop version.

Clone this wiki locally