דוגמאות
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אתם יכולים לעיין בדוגמאות הקוד של Library API מהדור הקודם.
חשוב לזכור ש-Library API מתעדכן כדי להתמקד בניהול התמונות והסרטונים שנוצרו על ידי האפליקציה שלכם. יכול להיות שחלק מהפונקציות שמוצגות בדוגמאות הקודמות לא יהיו זמינות אחרי שהשינויים ייכנסו לתוקף ב-31 במרץ 2025.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-29 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-29 (שעון UTC)."],[[["\u003cp\u003eExplore sample code for the legacy Google Photos Library API.\u003c/p\u003e\n"],["\u003cp\u003eNote that the Library API is undergoing updates, potentially impacting the availability of some functionalities demonstrated in the legacy samples after March 31, 2025.\u003c/p\u003e\n"]]],["The content directs users to legacy Library API samples. It highlights that the Library API is undergoing updates to prioritize managing photos and videos created by the user's app. Certain functionalities shown in the legacy samples may become unavailable after March 31, 2025, due to these changes. Users can still explore the legacy samples for reference, understanding that some features will be deprecated.\n"],null,["# Samples\n\nYou can explore the [legacy Library API samples](/photos/library/legacy/samples).\n\nRemember that the Library API is being updated to focus on managing photos and\nvideos created by your app. Some of the functionalities demonstrated in the\nlegacy samples might not be available after the changes take effect on\nMarch 31, 2025."]]