Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lpil/wimp-pushover


https://github.com/lpil/wimp-pushover

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# wimp

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

A Gleam client for the Pushover push notification API.

```sh
gleam add wimp
```
```gleam
import wimp
import gleam/httpc

pub fn send_notification() {
let assert Ok(response) =
wimp.new(token: token, user: user, message: "Hello, Joe!")
|> wimp.message_request
|> httpc.send

response
|> wimp.decode_message_response
}
```

Code documentation can be found at .

More information about the Pushover API can be found at .