עבודה עם ספריות לקוח
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ספריות הלקוח של Google My Business API מספקות שילוב משופר של שפה ואימות משתמש פשוט יותר.
לפני שמתחילים לעבוד עם Google My Business API, צריך לרשום את האפליקציה ולקבל אישורים של OAuth 2.0. פרטים נוספים על תחילת העבודה עם Google My Business API זמינים במאמר בנושא הגדרה בסיסית.
הערה: ההוראות האלה מיועדות לסביבה דמוית Unix.
הורדות של ספריות לקוח
בדף Libraries אפשר למצוא את ספריות הלקוח העדכניות של Google My Business API.
ספריית הלקוח של Google My Business API משתמשת בספריות הלקוח של Google API לטיפול בשגיאות, לניהול בקשות ותגובות, ל-OAuth ולפונקציות נפוצות אחרות.
מסמך גילוי זמין כדי לעזור לכם ליצור באופן אוטומטי ספריות לקוח משלכם, אם אין תמיכה בשפת התכנות שבחרתם להורדה.
דוגמה לשימוש בספריית לקוח
אפשר להיכנס ל-GitHub כדי לראות ולהוריד דוגמאות מלאות של עבודה עם ספריות לקוח.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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 offer better language integration and easier user authentication.\u003c/p\u003e\n"],["\u003cp\u003eYou must register your application and get OAuth 2.0 credentials before using the Google My Business API, with setup details available in the Basic Setup guide.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries can be downloaded from the Libraries page, and a discovery document is provided to assist in generating custom libraries for unsupported languages.\u003c/p\u003e\n"],["\u003cp\u003eFor usage examples and complete samples, refer to the Google My Business samples on GitHub.\u003c/p\u003e\n"]]],["To use the Google My Business API, register your application and obtain OAuth 2.0 credentials. Client libraries, which offer improved language integration and user authentication, can be downloaded from the Libraries page. These libraries utilize Google API Client Libraries for core functionalities. If a specific language isn't supported, a Discovery document aids in generating custom libraries. Full usage examples are available on GitHub. The setup assumes a Unix-like environment.\n"],null,["# Work with client libraries\n\n\u003cbr /\u003e\n\nThe Google My Business API client libraries provide improved language integration and\nsimplified user authentication.\n\nBefore working with the Google My Business API you need to register your application and\nobtain OAuth 2.0 credentials. See [Basic Setup](/my-business/content/basic-setup) for details on\nhow to start working with the Google My Business API.\n\n**Note**: These instructions assume a Unix-like environment.\n\nClient library downloads\n------------------------\n\nVisit the [Libraries](/my-business/samples) page to get the latest\nGoogle My Business API client libraries.\n\nThe Google My Business API client library makes use of the [Google API Client\nLibraries](/api-client-library) for error handling, managing requests and\nresponses, OAuth, and other common functionality.\n\nA [Discovery document](/my-business/samples#discovery_document) is available to\naid in auto-generating your own client libraries if support for your programming\nlanguage of choice is not available for download.\n\nExample client library usage\n----------------------------\n\nVisit [GitHub](https://github.com/google/google-my-business-samples) to view and\ndownload full samples of working with client libraries."]]