Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

ProductLayer SDK for Java

productlayer logo

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

Usage

Grade

compile 'com.productlayer.ply-sdk-java:0.5.0'

Maven

<dependency>
	<groupId>com.productlayer</groupId>
	<artifactId>ply-sdk-java</artifactId>
	<version>0.5.0</version>
</dependency>

Get an api-key

https://developer.productlayer.com


Example

// 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

About

ProductLayer SDK for Java

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.