Skip to content

LeoLeiteSC/ex_woo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExWoo

This is a library that makes simple requests to the WooCommerce API.

Installation

If available in Hex, the package can be installed by adding ex_woo to your list of dependencies in mix.exs:

def deps do
  [
    {:ex_woo, "~> 0.1.0"}
  ]
end

Add this configurations to your config.exs file:

config :ex_woo,
  base_url: "Your site URL",
  key: "Your Customer Key",
  secret: "Your Customer Secret"

Example

config.exs:

config :ex_woo,
  base_url: "https://mysite.com/wp-json/wc/v3",
  key: "my_key",
  secret: "my_secret"

In your program:

# To list all customers
ExWoo.get("/customers")

About

Elixir integration with WooCommerce API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages