Google Business Performance API یک روش API
جدید دارد که امکان واکشی چندین «DailyMetrics» را در یک درخواست API فراهم میکند.
زمانبندی منسوخ شدن و دستورالعملهای انتقال از روش API reportInsights v4 به API عملکرد نمایه کسبوکار Google را مرور کنید.
نسخه های قبلی
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
کتابخانههای سرویس گیرنده Google My Business API عملکرد Google My Business API را در بر میگیرد و عملکردی مشترک برای همه APIهای Google ارائه میکند، برای مثال انتقال HTTP، مدیریت خطا، احراز هویت، تجزیه JSON، و پشتیبانی از بافرهای پروتکل . کتابخانه های مشتری قبلی و نمونه برنامه های کاربردی زیر در دسترس هستند:
نسخه 4.9
کتابخانه های سرویس گیرنده زیر برای جاوا و PHP برای دانلود در دسترس شما هستند:
دانلود کتابخانه کلاینت جاوا (با منبع)
دانلود کتابخانه مشتری سی شارپ
دانلود کتابخانه مشتری PHP
برای یادگیری نحوه ادغام کتابخانه سرویس گیرنده جاوا در برنامه خود، به نحوه کار با کتابخانه های سرویس گیرنده مراجعه کنید.
می توانید از Gradle برای آماده سازی برنامه نمونه جاوا برای استفاده در Eclipse IDE استفاده کنید. برای کسب اطلاعات بیشتر به پلاگین های Eclipse مراجعه کنید.
سند کشف
سند کشف Google My Business API یک سند JSON است که سطح نسخه خاصی از API را توصیف می کند. شما از سند اکتشاف در ارتباط با Google API Discovery Service استفاده می کنید.
دانلود سند کشف
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\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)"]]