README.md

# openrouter_client

[![Package Version](https://img.shields.io/hexpm/v/openrouter_client)](https://hex.pm/packages/openrouter_client)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/openrouter_client/)

A simple and incomplete client library for OpenRouter.

```sh
gleam add openrouter_client
```
```gleam
import openrouter_client

pub fn main() {
  let client = openrouter_client.new(api_key, model, system_prompt)
  let assert Ok(resp) = client.send("Tell me something about the Gleam programming language")
}
```

Further documentation can be found at <https://hexdocs.pm/openrouter_client>.

## Development

```sh
gleam run   # Run the project
gleam test  # Run the tests
```