All Projects → omandryk → Wc Api Java

omandryk / Wc Api Java

Licence: mit
Java wrapper for WooCommerce REST API

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Wc Api Java

Gatsby Woocommerce Themes
⚡ A Gatsby Theme for WooCommerce E-commerce site Gatsby WooCommerce WordPress
Stars: ✭ 306 (+385.71%)
Mutual labels:  woocommerce
Storefront
Official theme for WooCommerce
Stars: ✭ 762 (+1109.52%)
Mutual labels:  woocommerce
Osen Wc Mpesa
WordPress Plugin that extends WordPress and WooCommerce functionality to integrate MPESA for making payments, remittances, checking account balance transaction status and reversals.
Stars: ✭ 45 (-28.57%)
Mutual labels:  woocommerce
Woocommerce Pos
🏪 A simple front-end for taking WooCommerce orders at the Point of Sale.
Stars: ✭ 318 (+404.76%)
Mutual labels:  woocommerce
Woocommerce Custom Orders Table
Store WooCommerce order data in a custom table for improved performance.
Stars: ✭ 415 (+558.73%)
Mutual labels:  woocommerce
Woocommerce
An open source eCommerce plugin for WordPress.
Stars: ✭ 7,473 (+11761.9%)
Mutual labels:  woocommerce
atum-stock-manager-for-woocommerce
The ultimate stock management plugin for serious WooCommerce Sellers.
Stars: ✭ 16 (-74.6%)
Mutual labels:  woocommerce
Woocommerce Extra Checkout Fields For Brazil
Brazilian Market on WooCommerce - WordPress Plugin.
Stars: ✭ 61 (-3.17%)
Mutual labels:  woocommerce
Intervention
WordPress plugin to configure wp-admin and application state using a single config file.
Stars: ✭ 481 (+663.49%)
Mutual labels:  woocommerce
Bitcoin Payments Woocommerce
Free Bitcoin/Altcoins Payment Gateway Addon for WooCommerce 2.1+ (or higher). Accept USD, Bitcoin, Litecoin, Dogecoin, Speedcoin, Darkcoin, Vertcoin, Reddcoin, Feathercoin, Vericoin, Potcoin payments in WooCommerce. Direct Integration on your website. No Chargebacks, Global, Secure. All in automatic mode.
Stars: ✭ 38 (-39.68%)
Mutual labels:  woocommerce
Wp Graphql Woocommerce
Add WooCommerce support and functionality to your WPGraphQL server
Stars: ✭ 318 (+404.76%)
Mutual labels:  woocommerce
Pwa Theme Woocommerce
E-commerce Progressive Web App Theme (React & Redux)
Stars: ✭ 382 (+506.35%)
Mutual labels:  woocommerce
Flutter Woocommerce Api
WooCommerce API in Flutter, connect and start developing with the available endpoints like get products, create orders and more.
Stars: ✭ 31 (-50.79%)
Mutual labels:  woocommerce
Slickstack
SlickStack is a free LEMP stack automation script written in Bash designed to enhance and simplify WordPress provisioning, performance, and security.
Stars: ✭ 311 (+393.65%)
Mutual labels:  woocommerce
Performance Improvements For Woocommerce
Performance tweaks for the front-end and back-end of a store.
Stars: ✭ 46 (-26.98%)
Mutual labels:  woocommerce
Awesome Woocommerce
Plugins and code snippets to improve your WooCommerce store.
Stars: ✭ 279 (+342.86%)
Mutual labels:  woocommerce
Woocommerce Loadimpact
Scenarios for `loadimpact.com`, written against Liquid Web's WooCommerce sample data.
Stars: ✭ 17 (-73.02%)
Mutual labels:  woocommerce
Wepos
WooCommerce Point of Sale ( POS ) WordPress Plugin
Stars: ✭ 63 (+0%)
Mutual labels:  woocommerce
Nextjs Woocommerce
NextJS (React) eCommerce site with WooCommerce backend
Stars: ✭ 53 (-15.87%)
Mutual labels:  woocommerce
Woocommerce Role Based Price
WooCommerce Role Based Price Plugin
Stars: ✭ 38 (-39.68%)
Mutual labels:  woocommerce

WooCommerce API Java Wrapper

Build Status

Java wrapper for WooCommerce REST API. The library supports the latest versions of WooCommerce REST API only with the OAuth 1.0a authentication over the HTTP protocol.

Setup

wc-api-java is available on maven central:

    <dependency>
        <groupId>com.icoderman</groupId>
        <artifactId>wc-api-java</artifactId>
        <version>1.4</version>
    </dependency>

Usage

    public static void main(String[] args) {
        // Setup client
        OAuthConfig config = new OAuthConfig("http://woocommerce.com", "consumerKey", "consumerSecret");
        WooCommerce wooCommerce = new WooCommerceAPI(config, ApiVersionType.V3);

        // Prepare object for request
        Map<String, Object> productInfo = new HashMap<>();
        productInfo.put("name", "Premium Quality");
        productInfo.put("type", "simple");
        productInfo.put("regular_price", "21.99");
        productInfo.put("description", "Pellentesque habitant morbi tristique senectus et netus");

        // Make request and retrieve result
        Map product = wooCommerce.create(EndpointBaseType.PRODUCTS.getValue(), productInfo);

        System.out.println(product.get("id"));

        // Get all with request parameters
        Map<String, String> params = new HashMap<>();
        params.put("per_page","100");
        params.put("offset","0");
        List products = wooCommerce.getAll(EndpointBaseType.PRODUCTS.getValue(), params);

        System.out.println(products.size());
    }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].