# B2

Elixir wrapper of [B2 Cloud Storage](

## Installation

If [available in Hex](, the package can be installed as:

  1. Add b2 to your list of dependencies in `mix.exs`:

        def deps do
          [{:b2, "~> 0.0.4"}]

  2. Ensure b2 is started before your application:

        def application do
          [applications: [:b2]]

  3. Puts config your `config.exs`

config :b2, B2,
  account_id: "your account id",
  application_key: "your application key"

## Usage

B2.File.upload(bucket_id, file_name, content_type, file_path)