Files
rest-samples/README.md
Nick Alteen 5a1ab2a455 Addition of batch pass creation examples
* Updated .NET and Java file names to be consistent
* Corrected indentation in .NET files
* Added missing quotes in HTTP request bodies
* Updated gradle version for Java examples
* Added missing JSON conversion for Java HTTP requests
* Added code to generate batch statements
2022-09-01 13:11:25 -04:00

840 B

Google Wallet Samples

This project contains samples for using the Google Wallet REST APIs in the following languages:

  • Java
  • C#
  • JavaScript (Node.js)
  • PHP
  • Python

Within each language's directory, you'll find standalone samples for each of the pass types supported by the Google Wallet APIs.

Each sample demonstrates the following:

  • Authenticating using a Google Cloud service account
  • Creating Pass Classes
  • Creating/retrieving Pass Objects
  • Creating a signed JWT for use in a "Add to Google Wallet" URL

Contributing

Please note that the samples are automatically generated using templates found in the "templates" directory, where you will also find the "generate.py" script that generates the samples. If contributing any changes, please work on the files in this directory.