AI-generated Key Takeaways
-
The Google Wallet API can be accessed using any standard HTTP client, but official client libraries offer better language integration, security, and authorization support.
-
Official Google API client libraries are available in various programming languages and simplify the process of interacting with the API.
-
While previously downloadable libraries are largely similar, they may have namespace differences compared to official libraries.
-
Android framework libraries are also available, such as the Google Wallet Flutter Plugin and Jetpack Compose button, for seamless integration with Flutter and Jetpack Compose.
Client libraries
The Google Wallet API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses.
However, the official Google APIs client libraries provide better language integration, improved security, and support for making calls that require user authorization. The client libraries are available in a number of programming languages; by using them you can avoid the need to manually set up HTTP requests and parse the responses.
Visit the Google APIs client libraries website for instructions on setting up in your preferred programming language. Once installed, you can then follow the API samples on GitHub.
Note that some of the API client libraries were previously available here as direct downloads. While these libraries largely contain the same interfaces as the official libraries, they may contain slightly different namespaces which may require updating in your code.
Android Framework Libraries
The following libraries are available for integrating Google Wallet using frameworks such as Flutter and Jetpack Compose: