หน้านี้แสดงวิธีเริ่มต้นใช้งานไลบรารีของไคลเอ็นต์สำหรับ Places API
อ่านเพิ่มเติมเกี่ยวกับไลบรารีของไคลเอ็นต์ในไลบรารีของไคลเอ็นต์ คำอธิบาย
ติดตั้งไลบรารีของไคลเอ็นต์
Java
สำหรับข้อมูลเพิ่มเติม โปรดดู การตั้งค่าสภาพแวดล้อมในการพัฒนาซอฟต์แวร์ Java
โปรดดูไคลเอ็นต์ Google Places API สำหรับ Java สำหรับคำแนะนำในการติดตั้ง
Go
go get cloud.google.com/go/maps
สำหรับข้อมูลเพิ่มเติม โปรดดู การตั้งค่าสภาพแวดล้อมการพัฒนาของ Go
ดูคำแนะนำการติดตั้งแบบสมบูรณ์ได้ที่ ไคลเอ็นต์ Google Places API สำหรับ Go
NodeJS
npm install @googlemaps/places
สำหรับข้อมูลเพิ่มเติม โปรดดู ตั้งค่าสภาพแวดล้อมในการพัฒนาซอฟต์แวร์ Node.js
สำหรับคำแนะนำในการติดตั้งที่สมบูรณ์ โปรดดูที่ไคลเอ็นต์ Google Places API สำหรับ NodeJS
Python
pip install --upgrade google-maps-places
สำหรับข้อมูลเพิ่มเติม โปรดดู การตั้งค่าสภาพแวดล้อมในการพัฒนาซอฟต์แวร์ Python
ดูคำแนะนำการติดตั้งแบบสมบูรณ์ได้ที่ ไคลเอ็นต์ Python สำหรับ Google Places
.Net
สำหรับข้อมูลเพิ่มเติม โปรดดู การตั้งค่าสภาพแวดล้อมในการพัฒนาซอฟต์แวร์ .Net
Install-Package Google.Maps.Places.V1 -Pre
โปรดดู .Net สำหรับ Google Places
ตั้งค่าการตรวจสอบสิทธิ์
เมื่อคุณใช้ไลบรารีของไคลเอ็นต์ คุณจะใช้ Application Default Credentials (ADC) เพื่อตรวจสอบสิทธิ์ สำหรับข้อมูลเกี่ยวกับการตั้งค่า ADC โปรดดู ระบุข้อมูลเข้าสู่ระบบสำหรับข้อมูลรับรองเริ่มต้นของแอปพลิเคชัน สำหรับข้อมูลเกี่ยวกับการใช้ ADC กับไลบรารีของไคลเอ็นต์ โปรดดู ตรวจสอบสิทธิ์โดยใช้ไลบรารีของไคลเอ็นต์
ใช้ไลบรารีของไคลเอ็นต์
Java
Go
NodeJS
Python
.Net