AI-generated Key Takeaways
-
This page provides instructions on getting started with the Maps Datasets API client libraries for Node.js and Python.
-
You'll learn how to install the necessary client libraries using npm or pip.
-
Authentication is handled using Application Default Credentials (ADC), and the page links to resources for setting up ADC.
-
Code samples demonstrate basic usage of the client libraries, such as creating a dataset, for both Node.js and Python.
-
Links to additional resources like source code, issue trackers, and Stack Overflow are provided for further assistance.
This page shows how to get started with the client libraries for Maps Datasets API.
Read more about the client libraries in Client Libraries Explained.
Install the client library
Node.js
For more information, see Setting Up a Node.js Development Environment.
npm install @googlemaps/maps-platform-datasets
Python
For more information, see Setting Up a Python Development Environment.
pip install --upgrade google-maps-mapsplatformdatasets
Set up authentication
When you use client libraries, you use Application Default Credentials (ADC) to authenticate. For information about setting up ADC, see Provide credentials for Application Default Credentials. For information about using ADC with client libraries, see Authenticate using client libraries.