Hey Coders! Almost every method you call in the Google Workspace Services will access APIs from Google Products. Normally, the authentication for these API resources is handled under the hood of the Apps Script IDE. But, what happens when you need to access resources from a Google product that's not yet integrated with Apps Script? Or, as in the case of this video, what happens when you are accessing APIs from outside the script editor? Google will still want to track who is accessing their resources for reports and billing. For these case scenarios, you'll need to create an API Key to go along with your requests. This API Key will be uniquely associated with your account, so Google will know it's you making the request. In this video, we'll see that the method getMapUrl() needs to be paired with an API key to work effectually, and so we'll go through the necessary steps to obtain this key for use!
Check out the source code on GitHub:
https://github.com/davidtheweiss/Apps...
❤️ Support the ongoing growth of this channel! / davidweissprogramming
🧑💻 Apps Script Documentation: https://developers.google.com/apps-sc...
----------------------------------------------------------------------------------------------
🕒 Timestamps
0:00 Intro
0:36 What is an API Key and What is it Used For?
2:09 Getting a Static Map's URL using getMapUrl()
5:38 How to Create an API Key for your Google Cloud Resources
7:04 Enabling the Google Maps Static API
8:02 Testing our API Key and Resolution
----------------------------------------------------------------------------------------------
Other playlists:
-----------------------------------
Google Cloud
-----------------------------------
App Engine:
• Google Cloud - Season 1 | App Engine
Google Cloud Orientation:
• Google Cloud - Season 0 | Orientation
-----------------------------------
Apps Script
-----------------------------------
Data Studio Service:
• Apps Script - Season 15 | Data Studio...
Maps Service:
• Apps Script - Season 14 | Maps Service
Utilities Service:
• Apps Script - Season 13 | Utilities S...
Properties Service:
• Apps Script - Season 12 | Properties ...
URL Fetch Service:
• Apps Script - Season 11 | URL Fetch S...
Drive Service:
• Apps Script - Season 10 | Drive Service
Forms Service:
• Apps Script - Season 9 | Forms Service
Lock Service:
• Apps Script - Season 8 | Lock Service
HTML Service:
• Apps Script - Season 7 | HTML Service
Document Service:
• Apps Script - Season 6 | Document Ser...
Slides Service:
• Apps Script - Season 5 | Slides Service
Calendar Service:
• Apps Script - Season 4 | Calendar Ser...
Script Service:
• Apps Script - Season 3 | Script Service
Gmail Service:
• Apps Script - Season 2 | Gmail Service
Spreadsheet Service:
• Apps Script - Season 1 | Spreadsheet ...
Apps Script Orientation:
• Apps Script - Season 0 | Orientation
----------------------------------------------------------------------------------------------