Skip to content

putuyoga/WoocommerceSharp

 
 

Repository files navigation

WoocommerceSharp

A C# client for the WooCommerce REST Api. Forked from SharCommerce by Zachary Keeton. I just change the behavior, refactor and bug fixing from the original codes.

What is the Difference

  1. Asynchronous Call
  2. Support WinRT (Moved from WebClient to HttpClient)
  3. ...

Usage

Keep it simple, just instantiate the WoocommerceApiClient and you are ready to go.

  var api = new WoocommerceApiClient(StoreUrl, ConsumerKey, ConsumerSecret);

Example: Get All Products

var result = api.Products.Get().Result; // to call normally
var result = await api.Products.Get(); // to call async

Will be updated later for full usage documentation.

About

A C# client for the WooCommerce REST Api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%