تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
مكتبات العملاء
تم إنشاء Google Wallet API استنادًا إلى HTTP وJSON، ما يتيح لأي عميل HTTP عادي إرسال طلبات إلى الواجهة وتحليل استجاباتها.
ومع ذلك، توفّر مكتبات عملاء Google APIs الرسمية إمكانية أفضل على مستوى التكامل اللغوي والأمان المعزَّز، كما تتيح إمكانية إجراء الطلبات التي تحتاج إلى إذن من المستخدم. تتوفر مكتبات العملاء بعدد من لغات البرمجة، وباستخدامها يمكنك تجنب الحاجة إلى إعداد طلبات HTTP وتحليل الاستجابات يدويًا.
تجدر الإشارة إلى أنّ بعض مكتبات عملاء واجهة برمجة التطبيقات كانت متاحة هنا في السابق كتنزيلات مباشرة.
على الرغم من أن هذه المكتبات تحتوي إلى حد كبير على الواجهات ذاتها مثل المكتبات الرسمية، إلا أنها قد تحتوي على مساحات اسم مختلفة قليلاً قد تتطلب تحديثًا في الرمز الخاص بك.
تاريخ التعديل الأخير: 2025-08-29 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-29 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe Google Wallet API can be accessed using any standard HTTP client, but official client libraries offer better language integration, security, and authorization support.\u003c/p\u003e\n"],["\u003cp\u003eOfficial client libraries are available in various programming languages and eliminate the need for manual HTTP request setup and response parsing.\u003c/p\u003e\n"],["\u003cp\u003eWhile previously downloadable libraries for Java, C#, and PHP exist, using official libraries is recommended for better compatibility.\u003c/p\u003e\n"],["\u003cp\u003eAndroid framework libraries, including a Flutter plugin and a Jetpack Compose button, are available for easier Google Wallet integration in Android apps.\u003c/p\u003e\n"]]],["The Google Wallet API utilizes HTTP and JSON, but official Google API client libraries offer enhanced language integration, security, and authorization support. These libraries eliminate the need for manual HTTP request setup and response parsing. Installation instructions are on the Google APIs website, with API samples on GitHub. Additionally, specific libraries for Flutter and Jetpack Compose are available. Some previously downloadable libraries exist but may require code namespace updates.\n"],null,["# Libraries\n\nClient libraries\n----------------\n\nThe Google Wallet API is built on HTTP and JSON, so any standard HTTP client can send requests to it\nand parse the responses.\n\nHowever, the [official Google APIs client libraries](https://developers.google.com/api-client-library/) provide better language integration, improved security,\nand support for making calls that require user authorization. The client libraries are available in\na number of programming languages; by using them you can avoid the need to manually set up HTTP\nrequests and parse the responses.\n\n\nVisit the [Google APIs client libraries](https://developers.google.com/api-client-library/) website for instructions on setting up in your preferred programming language.\nOnce installed, you can then follow the [API samples on GitHub](https://github.com/google-wallet/rest-samples).\n\n\nNote that some of the API client libraries were previously available here as direct downloads.\nWhile these libraries largely contain the same interfaces as the official libraries, they may contain slightly different namespaces which may require updating in your code.\nPreviously downloadable libraries\n\n- [Java](/static/wallet/downloads/google-walletobjects-v1-rev_20240607-java.zip)\n- [C#](/static/wallet/downloads/google-walletobjects-v1-rev_20240607-csharp.zip)\n- [PHP](/static/wallet/downloads/google-walletobjects-v1-rev_20240607-php.zip)\n\nAndroid Framework Libraries\n---------------------------\n\nThe following libraries are available for integrating Google Wallet using frameworks such as Flutter and Jetpack Compose:\n\n- [Google Wallet Flutter Plugin](https://github.com/google-wallet/flutter-plugin)\n- [Jetpack Compose button for Google Wallet](https://github.com/google-wallet/compose-wallet-button)"]]