# `Granola`
[🔗](https://github.com/sgerrand/ex_granola/blob/v1.0.0/lib/granola.ex#L1)

Elixir client for the [Granola API](https://docs.granola.ai/introduction).

## Usage

    client = Granola.new(api_key: "grn_YOUR_API_KEY")

    {:ok, result} = Granola.Notes.list(client, page_size: 10)
    {:ok, note}   = Granola.Notes.get(client, "not_1d3tmYTlCICgjy")
    {:ok, note}   = Granola.Notes.get(client, "not_1d3tmYTlCICgjy", include: :transcript)

# `new`

```elixir
@spec new(keyword()) :: Granola.Client.t()
```

Creates a new API client.

## Options

  * `:api_key` - Required. Your Granola API key (e.g. `"grn_xxx"`).

Any additional options are passed through to `Req.new/1`, which is useful for
configuring test stubs via `plug: {Req.Test, name}`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
