Commit Graph

7 Commits

Author SHA1 Message Date
Stephen McDonald
cd24293464 Use installable Google APIs lib for Java 2024-02-22 09:11:48 +11:00
Edson Yanaga
11d9406f1c Fixed README with correct Java version
Fixed security issues in build.gradle
Updated all demo files with Java code conventions regarding method names.
2023-10-23 11:42:29 -04: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
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
0830612ab5 Add fix to JSON request body for Java demos
* Resolves issue with JSON body not being interpreted when making PUT/POST calls
* Reduce code length/complexity by instantiating request credentials within the request factory instead of in each request
2022-08-26 09:19:37 -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