12 Commits

Author SHA1 Message Date
Jose Ugia
c27dea1460 Update image URLs 2025-12-22 22:30:53 +01:00
Razvan Grigore
644ec59f83 Fix minimum PHP version in readme according to deps
According to 27afdf930d/composer.json (L9) and ab9bfc33ed/composer.json (L9)
2024-02-06 21:47:20 +02:00
Razvan Grigore
ec0a7d9c82 Fix PHP demo readme and use scope const 2024-02-06 21:44:14 +02:00
Razvan Grigore
2c8f54cefc Remove Walletobjects.php manual dependency
This is handled by composer install. Google PHP SDK now has namespaced classes.
2024-02-03 17:12:18 +02:00
Alex Rodriguez
0742818666 Update demo_generic.php 2023-01-13 11:07:57 +01:00
Nick Alteen
957f0419c0 Added new use case examples (#51)
* Added examples for the following
  * Update a class/object
  * Patch a class/object
  * Add a message to a class/object
  * Expire an object
  * Create a JWT with new classes/objects
  * Create a JWT with existing classes/objects
* Fixed various minor formatting issues
* Made function/method names more general (ease of replication
   across different languages)
* Added checks for class/object presence
* Clarified some docstrings and comments
2022-12-02 09:55:02 -05:00
Dominik Mengelt
2040ecd695 added required trip type for transit passes (#44)
* added required trip type for transit passes
2022-11-07 09:22:46 -05:00
Nick Alteen
1a91242dc8 Update to make examples easily importable/testable
* Create language-specific READMEs with setup and usage instructions
* Add links to each language-specific README from main README
* Converted examples to use importable classes and functions
* Added class- and function-level docstrings and type hinting for IDEs
* Removed use of WALLET_* environment variables (now function arguments)
* General formatting updates (line length, indentation, etc.)
* Switched Java, .NET, and PHP to use Walletobjects libraries
* Updated JWT examples to show creating a class and object at once
* Fixed error with missing status parameter for certain pass types
* Added batch creation example for raw HTTP requests
* Removed generator scripts (doesn't work with the Wallet libraries)
2022-10-05 09:50:23 -04:00
Nick Alteen
253a67b9a5 Catch Java exception and update .NET class structure
* Added check for HttpResponseException in Java object GET examples (404 handling)
* Switched .NET examples to use classes and methods (resolved IDE error regarding compilation and top-level statements)
* Updated Gradle project for Java examples
* Corrected indentation in Node.JS examples
2022-09-07 09:32:09 -04:00
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
Nick Alteen
fcddb6659e Initial commit of demo issuer creation and permissions update code samples for /wallet documentation
* Added issuer creation and permissions update examples to all templates
* Generated new outputs for each template
* Updated Google SDK version sfor C#, Java, PHP, and Python templates
* General formatting and linting updates
* Additional commenting
* Added stronger typing of variables in C# and Java examples
2022-08-19 13:40:05 -04:00
Stephen McDonald
d20d65b1d3 Initial 2022-05-05 15:52:06 +10:00