The ultimate product information API, enabling a new breed of product-centric apps. This is the Java SDK. We also provide SDKs for Android and iOS.
You can sign up for a developer account at developer.productlayer.com
To clone the project execute the following command:
git clone https://github.com/ProductLayer/ProductLayer-SDK-for-Java.git
compile 'com.productlayer.ply-sdk-java:0.5.0'
<dependency>
<groupId>com.productlayer</groupId>
<artifactId>ply-sdk-java</artifactId>
<version>0.5.0</version>
</dependency>
https://developer.productlayer.com
// initialise the config
PLYRestClientConfig config = new PLYRestClientConfig("https", "api.productlayer.com", 80, "0.5", "<API_KEY>", false, null, 0);
// create the productlayer client
PLYRestClient client = new PLYRestClient(config);
// Request a product via a global unique gtin
Product foundProduct = ProductService.getProductForGtin(client, "0888462563369", "de", false, null);
- ConsoleClient - A simple console client to request product infos from the productlayer API