Skip to content

devansjo/oneflow_ex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneflowEx

Installation

The package can be installed by adding oneflow_ex to your list of dependencies in mix.exs:

def deps do
  [{:oneflow_ex, git: "https://github.com/gilacost/oneflow_ex.git"}}]
end

Configuration

config :oneflow_ex,
  token: "TOKEN",
  secret: "SECRET",
  log: true,
  endpoint: "https://API-URL/api",
  http: [] # these will be passed to hackney

Usage

Basic examples

{:ok, order} = OnflowEx.get("/order/ORDER-ID", %{})
{:ok, result} = OnflowEx.search("query", "shipments", ["status:shipped])

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/oneflow_ex.

About

Elixir SDK for Oneflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%