Commit Graph

33 Commits

Author SHA1 Message Date
Alex Muramoto
d4ae65a670 fix: reverts changes that inadvertantly removed region tags 2023-10-23 16:34:06 -07:00
Edson Yanaga
2054994801 Fixed method names in README.md for Java 2023-10-23 11:45:50 -04: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
stephenmcd
219d61f29f Update README.md 2023-06-16 10:17:10 +10:00
Stephen McDonald
e6b07e4f8c Go samples 2023-06-16 09:48:04 +10:00
stephenmcd
a9213885dd Merge pull request #71 from CorruptedPhazite/main
Updated link for Pipenv
2023-04-28 10:53:05 +10:00
CorruptedPhazite
5db8889297 Updated link for Pipenv
Updated URL from: https://pipenv.pypa.io/en/latest/install/
To: https://pipenv.pypa.io/en/latest/installation/
2023-04-27 13:57:56 -04:00
stephenmcd
e924333e25 Merge pull request #66 from aaronball/patch-1
Fix for arguments passed to function
2023-03-24 11:56:33 +11:00
aaronball
5f496b7969 Fix for arguments passed to function 2023-03-20 20:23:01 +10:00
stephenmcd
25f6b41d03 Merge pull request #59 from AlexRodriguezArtells/patch-1
Update demo_generic.php
2023-01-17 09:42:32 +11:00
Alex Rodriguez
0742818666 Update demo_generic.php 2023-01-13 11:07:57 +01:00
Sam King
feac6adcad Fix spelling of functions. (#54) 2022-12-13 09:22:03 -05: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
1395ffb08f Merge pull request #37 from ncalteen/main
minor updates to .NET formatting, corrected links in java README
2022-10-12 16:49:49 -04:00
Nick Alteen
1599e2ee61 minor updates to .NET formatting, corrected links in java README 2022-10-12 16:48:27 -04:00
Nick Alteen
3b2211dec5 Merge pull request #34 from ncalteen/main
Update to make examples easily importable/testable
2022-10-05 09:53:17 -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
a1a185d568 Merge pull request #30 from ncalteen/main
Catch Java exception and update .NET class structure
2022-09-07 09:34:36 -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
3d9f57bf7b Rename DemoGiftcard.java to DemoGiftCard.java
Update to make naming conventions consistent across files.
2022-09-06 12:55:22 -04:00
Nick Alteen
f6158c69b2 Rename DemoEventticket.java to DemoEventTicket.java 2022-09-06 12:55:11 -04:00
Nick Alteen
6a8de7f4d3 Rename DemoGiftcard.cs to DemoGiftCard.cs
Update to make naming conventions consistent across files.
2022-09-06 12:54:59 -04:00
Nick Alteen
2c26698adf Rename DemoEventticket.cs to DemoEventTicket.cs
Update to make naming conventions consistent across files.
2022-09-06 12:54:45 -04:00
Nick Alteen
31a5cd1c59 Merge pull request #26 from ncalteen/main
Addition of batch pass creation examples
2022-09-02 09:33:56 -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
a1f4cce7c6 Merge pull request #24 from ncalteen/main
Add fix to JSON request body for Java demos
2022-08-28 22:02:21 -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
70cd5b7d09 Merge pull request #19 from ncalteen/main
Add samples for creating issuer accounts and managing permissions
2022-08-22 09:47:27 -04:00
Nick Alteen
0761139eb3 remove <var> tag from generator for HTTP request bodies 2022-08-19 13:47:43 -04:00
Nick Alteen
57f2524e20 remove <var> tag from variables in HTTP template 2022-08-19 13:42:48 -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