57 Commits

Author SHA1 Message Date
Jose Ugia
c27dea1460 Update image URLs 2025-12-22 22:30:53 +01:00
Jose L
0f31340ea0 Update issue templates 2025-01-07 12:46:47 +01:00
stephenmcd
4f6e4d1d11 Delete templates directory 2024-03-21 13:49:48 +11:00
stephenmcd
be345d14cf Merge pull request #111 from google-wallet/cloudlibs
Use official client libraries for all samples
2024-03-14 08:15:14 +11:00
Stephen McDonald
f06679e2e9 Update Java setup instructions 2024-02-28 10:28:24 +11:00
Stephen McDonald
cb2bcc59cf Use installable Google APIs lib for Go 2024-02-27 13:10:04 +11:00
Stephen McDonald
29c889c6e4 Merge github.com:johnksterling/rest-samples into cloudlibs 2024-02-26 13:43:54 +11:00
Stephen McDonald
047d412c88 Use scope constant in dotnet samples 2024-02-22 09:24:53 +11:00
Stephen McDonald
cd24293464 Use installable Google APIs lib for Java 2024-02-22 09:11:48 +11:00
Stephen McDonald
f4f62d12e2 Use installable Google APIs lib for Python 2024-02-21 11:18:13 +11:00
Stephen McDonald
f47706fcab Use installable Google APIs lib for nodejs 2024-02-20 12:27:00 +11:00
Stephen McDonald
3e49ff1085 Use installable Google APIs lib for dotnet 2024-02-14 13:04:40 +11: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
johnksterling
5a9f88caa9 migrate batch api to use the client libraries for building the loyalty objects. 2023-12-17 13:32:54 -08:00
johnksterling
284ac5ad6a Clean up a couple of pieces and fix the existing object generation 2023-12-17 12:55:46 -08:00
johnksterling
dafc6e5d93 update the go environment to match mine. 2023-12-17 12:14:46 -08:00
johnksterling
8911968901 Migrate to googleapis instead of raw json/http 2023-12-17 12:07:27 -08:00
Alex Muramoto
82f5e79e5f Merge pull request #100 from sagarkothari/main
Added batch URLs to the batch code for go, node and python
2023-12-04 12:32:37 -08:00
sagarkothari
c715f7b52e Added batch URLs to the batch code for go, node and python 2023-12-04 11:19:36 -08:00
Edson Yanaga
afd89d4152 Merge pull request #95 from yanaga/main
Updates on the demos (mostly Java code conventions and minor improvements)
2023-10-27 09:33:26 -05:00
Edson Yanaga
05d33fa185 Moving the classes do package com.google.developers.wallet.rest
Renaming methods to comply with the Java code conventions
Some code improvements
2023-10-25 15:39:45 -04:00
stephenmcd
188d3d9f44 Merge pull request #94 from amuramoto/main
fix: reverts changes that inadvertantly removed region tags
2023-10-24 11:16:41 +11:00
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