woosignal 1.1.1 woosignal: ^1.1.1 copied to clipboard
WooCommerce REST API for dart, connect a WooCommerce store and start developing with our interface for their API endpoints.
WooCommerce API Dart plugin #
Official WooSignal WooCommerce package
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.
Getting Started #
In your flutter project add the dependency:
dependencies:
...
woosignal: ^1.1.1
Usage example #
Import woosignal.dart
import 'package:woosignal/woosignal.dart';
Example using WooSignal API for WooCommerce #
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);
});
});
}
Available API Requests #
WooCommerce - Products
- Get Products
- Retrive a Product by id
WooCommerce - Product Variations
- Get Product Variations
- Retrive a Product Variation by id
WooCommerce - Product Attributes
- Get Product Attributes
WooCommerce - Products Attribute Terms
- Get Products Attribute Terms
See Products Attribute Terms API
WooCommerce - Product Categories
- Get Product Categories
WooCommerce - Products Shipping Classes
- Get Products Shipping Classes
See Products Shipping Classes API
WooCommerce - Product Reviews
- Get Product Reviews
WooCommerce - Tax Rates
- Get Tax Rates
WooCommerce - Tax Classes
- Get Tax Classes
WooCommerce - Shipping Zones
- Get Shipping Zones
- Retrive a Shipping Zone by id
WooCommerce - Shipping Zone Locations
- Get Shipping Zone Locations
- Retrive a Shipping Zone Location by id
See Shipping Zone Locations API
WooCommerce - Shipping Methods
- Get Shipping Methods
WooCommerce - Orders
- Get Orders
- Retrive a Order by id
- Create an Order
WooCommerce - Customers
- Get Customers
Disclaimer: This plugin is not affiliated with or supported by Automattic, Inc. All logos and trademarks are the property of their respective owners.