woosignal 0.0.2 copy "woosignal: ^0.0.2" to clipboard
woosignal: ^0.0.2 copied to clipboard

outdated

Connect WooCommerce and start developing with their REST API endpoints.

WooCommerce API Dart plugin #

Build apps for WooCommerce easier with our new package. Our API provides many requests types e.g. getProducts, getOrders, getCustomers and many more. Free to get started, see the simple examples below

For help getting started with WooSignal, view our online documentation, which offers a more detail guide.

Usage #

To use this plugin, add woosignal as a dependency in your pubspec.yaml file.

Example #

import 'package:woosignal/woosignal.dart';

...

// EXAMPLE GET PRODUCTS
_getProducts() async {

        // CONFIG FOR WOOSIGNAL
        var wsConfig = {
          "appKey":"your app key",
          "debugMode":true
        };

        // CREATING AN INSTANCE
        WooSignal.getInstance(config: wsConfig).then( (wcStore) {

         wcStore.getProducts().then( (products) {
              print(products[0].name);
        });

  });
}

Disclaimer: This plugin is not affiliated with or supported by Automattic, Inc. All logos and trademarks are the property of their respective owners.

58
likes
20
pub points
85%
popularity

Publisher

verified publisherwoosignal.com

Connect WooCommerce and start developing with their REST API endpoints.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

device_info, dio, flutter, shared_preferences, uuid

More

Packages that depend on woosignal