Granola (Granola v1.0.0)

Copy Markdown View Source

Elixir client for the Granola API.

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)

Summary

Functions

Creates a new API client.

Functions

new(opts)

@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}.