Get started with Places API (New) client libraries

This page shows how to get started with the client libraries for Places API (New).

Read more about the client libraries in Client Libraries Explained.

Install the client library

Java

For more information, see Setting Up a Java Development Environment.

See Google Places API Client for Java for the installation instructions.

Go

go get cloud.google.com/go/maps

For more information, see Setting Up a Go Development Environment.

For the complete installation instructions, see Google Places API Client for Go.

NodeJS

npm install @googlemaps/places

For more information, see Setting Up a Node.js Development Environment.

For the complete installation instructions, see Google Places API Client for NodeJS.

Python

pip install --upgrade google-maps-places

For more information, see Setting Up a Python Development Environment.

For the complete installation instructions, see Python Client for Google Places.

.Net

For more information, see Setting Up a .Net Development Environment.

Install-Package Google.Maps.Places.V1 -Pre

See .Net for Google Places.

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.

Use the client library

See Client library examples for usage information.

Additional resources