Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
ฉบับก่อนหน้า
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ไลบรารีไคลเอ็นต์ Google My Business API จะรวมฟังก์ชันการทำงานของ Google My Business API และมอบฟังก์ชันการทำงานทั่วไปสำหรับ Google API ทั้งหมด เช่น การรับส่ง HTTP, การจัดการข้อผิดพลาด, การตรวจสอบสิทธิ์, แยกวิเคราะห์ JSON และรองรับ Protocol Buffers ไลบรารีและตัวอย่างแอปพลิเคชันที่ผ่านมาของลูกค้ามีดังนี้
v4.9
คุณสามารถดาวน์โหลดไลบรารีของไคลเอ็นต์ต่อไปนี้สำหรับ Java และ PHP ได้
ดาวน์โหลดไลบรารีของไคลเอ็นต์ Java (พร้อมซอร์สโค้ด)
ดาวน์โหลดไลบรารีไคลเอ็นต์ C#
ดาวน์โหลดไลบรารีของไคลเอ็นต์ PHP
ดูวิธีผสานรวมไลบรารีของไคลเอ็นต์ Java เข้ากับแอปพลิเคชันได้ที่หัวข้อวิธีใช้ไลบรารีของไคลเอ็นต์
คุณสามารถใช้ Gradle เพื่อเตรียมแอปพลิเคชันตัวอย่าง Java เพื่อใช้ใน Eclipse IDE ได้ ดูข้อมูลเพิ่มเติมที่ปลั๊กอิน Eclipse
เอกสารการค้นพบ
เอกสารการค้นพบ Google My Business API คือเอกสาร JSON ที่อธิบายแพลตฟอร์มสําหรับ API เวอร์ชันหนึ่งๆ คุณใช้เอกสารการค้นพบร่วมกับบริการการค้นพบ Google API
ดาวน์โหลดเอกสารการค้นพบ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-29 UTC
[null,null,["อัปเดตล่าสุด 2025-08-29 UTC"],[[["\u003cp\u003eThe Google My Business API client libraries simplify interactions with the API by handling common tasks like HTTP transport, error handling, and authentication.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are available for download in Java, C#, and PHP, along with sample applications and instructions for integration.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the Google My Business API discovery document, a JSON file describing the API's surface, in conjunction with the Google API Discovery Service.\u003c/p\u003e\n"]]],["The Google My Business API offers client libraries with core functionalities like HTTP transport, error handling, authentication, and JSON parsing. Client libraries for Java, C#, and PHP (version v4.9) are available for download, with source code included for Java. A discovery document for the API, used with the Google API Discovery Service, can also be downloaded. Guidance is provided on integrating the Java client library and using Gradle to prepare the Java sample application.\n"],null,["# Previous versions\n\n\u003cbr /\u003e\n\nThe Google My Business API client libraries wrap the functionality of the\nGoogle My Business API, and provide functionality common to all Google APIs, for\nexample HTTP transport, error handling, authentication, JSON parsing, and\nsupport for [protocol buffers](/protocol-buffers). The following past client\nlibraries and sample applications are available:\n\nv4.9\n----\n\nThe following client libraries for Java and PHP are available for you to\ndownload:\n\n[Download Java client library (with source)](/static/my-business/samples/google-api-services-mybusiness-v4p9-java-rev-20210224-1.zip)\n\n[Download C# client library](/static/my-business/samples/google-api-services-mybusiness-v4p9-csharp-rev-20210224-1.zip)\n\n[Download PHP client library](/static/my-business/samples/google-api-services-mybusiness-v4p9-php-rev-20210224-1.zip)\n\nTo learn how to integrate the Java client library in to your application, see\n[How to work with client libraries](/my-business/content/set-up-java-client).\n\nYou can use Gradle to prepare the Java sample application for use in the Eclipse\nIDE. See\n[Eclipse Plugins](https://docs.gradle.org/current/userguide/eclipse_plugin.html)\nto learn more.\n\n### Discovery document\n\nThe Google My Business API discovery document is a JSON document that describes the\nsurface for a particular version of the API. You use the discovery document in\nconjunction with the\n[Google API Discovery Service](/discovery).\n\n[Download discovery document](/static/my-business/samples/mybusiness_google_rest_v4p9.json)"]]