wimp
A Gleam client for the Pushover push notification API.
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
}
gleam add wimp
Code documentation can be found at https://hexdocs.pm/wimp.
More information about the Pushover API can be found at https://pushover.net/api.