Skip to content

ProductLayer/ProductLayer-SDK-for-Java

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages