hiro-riveros / elixir-shipit-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ShipitApi

Supported features

  • Get all Shipit Communes
  • Get all Shipit Skus
  • Calculate Shipit Rate
  • Shipments
    • Create shipments
    • Show shipment by id
    • Find shipments by reference
    • Shipment History

Installation

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

def deps do
  [
    {:shipit_api, "~> 0.1.0"}
    # or
    {:shipit_api, "~> 0.1.0", github: "https://github.com/hiro-riveros/elixir-shipit-api"}
  ]
end

Basic usage

iex> email = "cuenta@shipit.cl"
iex> token = "SHIPIT-TOKEN"
iex> ShipitApi.communes(email, token)

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

About


Languages

Language:Elixir 100.0%