Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
google:maps [2019/04/16 12:25] eServices Greece |
google:maps [2019/04/16 13:38] (current) eServices Greece |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
====== Create Google MAPs API Keys ====== | ====== Create Google MAPs API Keys ====== | ||
Google requires that you do all requests from your site or app using an individual API key where it tracks the requests and provides free requests per month. | Google requires that you do all requests from your site or app using an individual API key where it tracks the requests and provides free requests per month. | ||
<wrap em>Note: Please do NOT use the same Google API project for all of your sites in order to avoid hitting the API request limit.</ | <wrap em>Note: Please do NOT use the same Google API project for all of your sites in order to avoid hitting the API request limit.</ | ||
+ | |||
+ | <wrap em> | ||
+ | |||
===== Using the wizard ===== | ===== Using the wizard ===== | ||
Google provides a wizard to create the API keys for your site or application. Use the following link: | Google provides a wizard to create the API keys for your site or application. Use the following link: | ||
[[https:// | [[https:// | ||
+ | |||
+ | After you can always visit [[https:// | ||
===== Manual Setup===== | ===== Manual Setup===== | ||
+ | Using the following steps you can create an API key: | ||
+ | * Create a Project in the Google Cloud Console API Management [[https:// | ||
+ | * Click on the Top bar Create Project (if you already have a project name there, click on it) | ||
+ | * On the popup click on (New Project) | ||
+ | * On the new page Set a Name for your project and select an organization (optional) | ||
+ | * On the top select + ENABLE APIS AND SERVICES | ||
+ | * On the list Search for Maps Javascript API and click on it | ||
+ | * On the top of the new page Click on ENABLE | ||
+ | * Go back to the Dashboard and from the left menu bar select CREDENTIALS | ||
+ | * Click on Create Credentials and select API, You will be given an API key to use for your site | ||
+ | * Click on RESTRICT KEY and setup the restrictions for your site or app. | ||
+ | |||
+ | ===== Key Restriction ===== | ||
+ | It is important to restrict your key for your specific domain/app, the key is visible on your website and others can copy and use it thus using your free requests per month. Usually these users of your key use it for nefarious reasons and they have been banned by Google which could mean you will be banned to in the future. | ||