Java client for accessing the Bigcommerce REST API.
Import the .jar file into your classpath, or download and compile the source package in ./src
Using the store facade:
import com.bigcommerce.api.Store;
class BigcommerceApiTest
{
public static void main(String[] args)
{
String storeUrl = "https://examplestore.com";
String username = "admin";
String apiKey = "akjfalksjflksjflaskdjflasdk"
Store store = new Store(storeUrl, user, apiKey);
Collection<Product> products = store.getProducts();
for(product in products) {
System.out.println(product.getName());
System.out.println(product.getPrice());
}
}
}