README.md

# Gcloud

Gcloud provides an elixir client for communicating with the google cloud services API.

To see how much of the API we've implemented look at [TODOS.md](https://github.com/jwaterfaucett/ex-gcloud/blob/master/TODOS.md).

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `gcloud` to your list of dependencies in `mix.exs`:

```elixir
def deps do
  [
    {:gcloud, "~> 0.0.1"}
  ]
end
```

## Usage

You will need to create a service account and download that users credentials from the google cloud console.

Save that file into `config/credentials.json`. You can have different files loaded based on your environments.

Now here's an example of listing your buckets over the storage API, for more examples see the documentation.

```bash
iex> client = Gcloud.Storage.Client.create()
iex> Gcloud.Storage.Bucket.list!(client)
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/gcloud](https://hexdocs.pm/gcloud).