defmodule Spidra do @moduledoc """ The official Elixir SDK for the Spidra API. ## Getting Started You can use the API by passing a `Spidra.Config` struct to the various modules: config = Spidra.Config.new(api_key: "spd_YOUR_API_KEY") {:ok, job} = Spidra.Scrape.run(config, %{ urls: [%{url: "https://news.ycombinator.com"}], prompt: "List the top 5 stories", output: "json" }) """ alias Spidra.Config @doc """ Shorthand to create a new Spidra config. """ def new(opts \\ []) do Config.new(opts) end end