README.md
# abair
A client for abair.ie's Gaeilge voice synthesis
[](https://hex.pm/packages/abair)
[](https://hexdocs.pm/abair/)
```sh
gleam add abair@1
```
```gleam
import abair
import gleam/httpc
import simplifile
pub fn main() {
let assert Ok(response) = abair.synthesis_request("Dia duit!") |> httpc.send
let assert Ok(synthesized) = abair.synthesis_response(response)
simplifile.write_bits("greeting.wav", synthesized.audio)
}
```
Further documentation can be found at <https://hexdocs.pm/abair>.