Contacts Service
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אנשי קשר
הוצא משימוש. במקום זאת, כדאי להשתמש בשירות המתקדם של People API.
השירות הזה מאפשר לסקריפטים לגשת לאנשי הקשר בחשבון Google ולשנות אותם, גם לאנשי קשר ספציפיים וגם לקבוצות.
שיעורים
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eThis Contacts service is deprecated; use the People API advanced service instead.\u003c/p\u003e\n"],["\u003cp\u003eThe Contacts service previously allowed scripts to access and modify Google Contacts data, including individual contacts and groups.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eContactsApp\u003c/code\u003e class was the primary interface for creating, removing, and updating contacts within Google Contacts.\u003c/p\u003e\n"],["\u003cp\u003eVarious classes like \u003ccode\u003eContact\u003c/code\u003e, \u003ccode\u003eContactGroup\u003c/code\u003e, and field-specific classes like \u003ccode\u003eAddressField\u003c/code\u003e, \u003ccode\u003eEmailField\u003c/code\u003e were used to represent and manipulate contact data.\u003c/p\u003e\n"],["\u003cp\u003eAlthough deprecated, the documentation details the available classes and methods for interacting with Google Contacts through this older service.\u003c/p\u003e\n"]]],["This deprecated service allows scripts to manage Google Contacts, including individual contacts and groups. Key actions include accessing, creating, removing, and updating contacts via the `ContactsApp`. Contacts contain details like name and address, managed through classes like `AddressField`, `EmailField`, and `PhoneField`. These field classes allow setting and getting addresses and labels and designating a field as primary. Custom, date and other specific fields are also managed, and are able to get and set labels.\n"],null,[]]