Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Librerie client
L'API Google Wallet è basata su HTTP e JSON, pertanto qualsiasi client HTTP standard può inviare richieste e analizzare le risposte.
Tuttavia, le librerie client ufficiali delle API di Google offrono una migliore integrazione del linguaggio, nonché maggiore sicurezza
e supporto per effettuare chiamate che richiedono l'autorizzazione dell'utente. Le librerie client sono disponibili in vari linguaggi di programmazione; utilizzandole puoi evitare di dover impostare manualmente le richieste HTTP e analizzare le risposte.
Tieni presente che alcune delle librerie client delle API erano precedentemente disponibili qui come download diretti.
Sebbene queste librerie contengano in gran parte le stesse interfacce delle librerie ufficiali, potrebbero contenere spazi dei nomi leggermente diversi che potrebbero richiedere l'aggiornamento nel codice.
[null,null,["Ultimo aggiornamento 2025-08-29 UTC."],[[["\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 are still functional, using the official Google APIs client libraries is recommended.\u003c/p\u003e\n"],["\u003cp\u003eFor Android framework integration, Google provides dedicated libraries for Flutter and Jetpack Compose, streamlining the process.\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)"]]